diff --git a/BUILD.gn b/BUILD.gn index 42c15245432..4d88fd67d86 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -193,7 +193,7 @@ if (is_fuchsia) { if (defined(invoker.data_deps)) { data_deps += invoker.data_deps } - manifest = "build/fuchsia/dart.cmx" + manifest = invoker.manifest library_files = [] if (defined(invoker.library_files)) { @@ -229,6 +229,7 @@ if (is_fuchsia) { } dart_fuchsia_test_component("fuchsia_test_component") { + manifest = "build/fuchsia/fuchsia_test_component.cmx" resource_dirs = [ "tests/standalone_2", "pkg/async_helper", @@ -257,6 +258,7 @@ if (is_fuchsia) { } dart_fuchsia_test_component("fuchsia_ffi_test_component") { + manifest = "build/fuchsia/fuchsia_ffi_test_component.cmx" data_deps = [ "runtime/bin:ffi_test_dynamic_library", "runtime/bin:ffi_test_functions", diff --git a/DEPS b/DEPS index fc996fe9735..df98cbfb0d4 100644 --- a/DEPS +++ b/DEPS @@ -79,7 +79,7 @@ vars = { "gn_version": "git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a", # Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/gn - "fuchsia_sdk_version": "git_revision:8658717573be7924d71b88c3d404ea2b4ca4984b", + "fuchsia_sdk_version": "git_revision:7b3b23b2c0da59b3aceab6c49fbe7d9ed34d7382", # Ninja, runs the build based on files generated by GN. "ninja_tag": "version:2@1.11.1.chromium.4", diff --git a/build/fuchsia/dart.cmx b/build/fuchsia/fuchsia_ffi_test_component.cmx similarity index 100% rename from build/fuchsia/dart.cmx rename to build/fuchsia/fuchsia_ffi_test_component.cmx diff --git a/build/fuchsia/fuchsia_test_component.cmx b/build/fuchsia/fuchsia_test_component.cmx new file mode 100644 index 00000000000..45ba3977835 --- /dev/null +++ b/build/fuchsia/fuchsia_test_component.cmx @@ -0,0 +1,27 @@ +{ + "program": { + "binary": "exe.stripped/dart" + }, + "sandbox": { + "features": [ + "config-data", + "deprecated-ambient-replace-as-executable", + "isolated-cache-storage", + "isolated-persistent-storage", + "isolated-temp", + "root-ssl-certificates" + ], + "services": [ + "fuchsia.deprecatedtimezone.Timezone", + "fuchsia.device.NameProvider", + "fuchsia.feedback.CrashReporter", + "fuchsia.intl.PropertyProvider", + "fuchsia.logger.LogSink", + "fuchsia.net.name.Lookup", + "fuchsia.posix.socket.Provider", + "fuchsia.sysmem.Allocator", + "fuchsia.timezone.Timezone", + "fuchsia.tracing.provider.Registry" + ] + } +}