diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/common.shard.cml b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/common.shard.cml index 0aad02e063..4868e5d428 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/common.shard.cml +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/common.shard.cml @@ -13,7 +13,7 @@ }, ], use: [ - // This is used by the Dart VM to communicate from Dart code to C++ code. + // This is used by the Dart VM to communicate from Dart code to C++ code. { storage: "tmp", path: "/tmp", @@ -24,6 +24,14 @@ rights: [ "r*" ], path: "/config/data", }, + // The ICU time zone data, factored out of `config-data`. + // See: + // https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure + { + directory: "tzdata-icu", + rights: [ "r*" ], + path: "/config/tzdata/icu", + }, { protocol: [ "fuchsia.device.NameProvider", // For fdio uname() diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/meta/dart-jit-runner-integration-test.cml b/engine/src/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/meta/dart-jit-runner-integration-test.cml index d9b4faee72..b2afa5382e 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/meta/dart-jit-runner-integration-test.cml +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/meta/dart-jit-runner-integration-test.cml @@ -36,6 +36,12 @@ from: "framework", to: "#realm_builder", }, + // See common.shard.cml. + { + directory: "tzdata-icu", + from: "framework", + to: "#realm_builder", + }, ], // TODO(https://fxbug.dev/114584): Figure out how to bring these in as deps (if possible oot). facets: { diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/common.shard.cml b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/common.shard.cml index 3fccfc6408..afc80d528d 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/common.shard.cml +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/common.shard.cml @@ -13,7 +13,7 @@ }, ], use: [ - // This is used by the Dart VM to communicate from Dart code to C++ code. + // This is used by the Dart VM to communicate from Dart code to C++ code. { storage: "tmp", path: "/tmp", @@ -24,6 +24,14 @@ rights: [ "r*" ], path: "/config/data", }, + // The ICU time zone data, factored out of `config-data`. + // See: + // https://fuchsia.dev/fuchsia-src/concepts/process/namespaces?typical_directory_structure + { + directory: "tzdata-icu", + rights: [ "r*" ], + path: "/config/tzdata/icu", + }, { directory: "root-ssl-certificates", rights: [ "r*" ], diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml index 3eda9427a2..a285bb4a55 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml @@ -26,6 +26,12 @@ rights: [ "r*" ], path: "/config/data", }, + // See common.shard.cml. + { + directory: "tzdata-icu", + rights: [ "r*" ], + path: "/config/tzdata/icu", + }, ], expose: [ { diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/meta/mouse-input-test.cml b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/meta/mouse-input-test.cml index b77da92ab9..a57ff11b97 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/meta/mouse-input-test.cml +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/meta/mouse-input-test.cml @@ -50,6 +50,12 @@ from: "framework", to: "#realm_builder", }, + // See common.shard.cml. + { + directory: "tzdata-icu", + from: "framework", + to: "#realm_builder", + }, ], // TODO(https://fxbug.dev/114584): Figure out how to bring these in as deps (if possible oot). facets: { diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/meta/text-input-test.cml b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/meta/text-input-test.cml index b957f14447..8058e8a385 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/meta/text-input-test.cml +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/meta/text-input-test.cml @@ -52,6 +52,12 @@ from: "framework", to: "#realm_builder", }, + // See common.shard.cml. + { + directory: "tzdata-icu", + from: "framework", + to: "#realm_builder", + }, ], // TODO(https://fxbug.dev/114584): Figure out how to bring these in as deps (if possible oot). facets: {