From b192907898cc64c96daf33086d99832fc18f9908 Mon Sep 17 00:00:00 2001 From: George Wright Date: Fri, 1 Nov 2019 16:13:12 -0700 Subject: [PATCH] Add fuchsia.intl.PropertyProvider to our services on Fuchsia (flutter/engine#13486) This resolves the following error on Fuchsia: Component fuchsia-pkg://fuchsia.com/flutter_aot_product_runner#meta/flutter_aot_product_runner.cmx is not allowed to connect to fuchsia.intl.PropertyProvider because this service is not present in the component's sandbox. --- .../dart_runner/examples/goodbye_dart/meta/goodbye_dart_aot.cmx | 1 + .../dart_runner/examples/goodbye_dart/meta/goodbye_dart_jit.cmx | 1 + .../examples/hello_app_dart/meta/hello_app_dart_aot.cmx | 1 + .../examples/hello_app_dart/meta/hello_app_dart_jit.cmx | 1 + .../dart_runner/examples/hello_dart/meta/hello_dart_aot.cmx | 1 + .../examples/hello_dart/meta/hello_dart_aot_product.cmx | 1 + .../dart_runner/examples/hello_dart/meta/hello_dart_debug.cmx | 1 + .../dart_runner/examples/hello_dart/meta/hello_dart_jit.cmx | 1 + .../examples/hello_dart/meta/hello_dart_jit_product.cmx | 1 + .../dart_runner/integration/meta/dart_aot_runner_test.cmx | 1 + .../dart_runner/integration/meta/dart_jit_runner_test.cmx | 1 + .../fuchsia/dart_runner/meta/dart_aot_product_runner.cmx | 1 + .../fuchsia/dart_runner/meta/dart_jit_product_runner.cmx | 1 + .../shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx | 1 + .../platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx | 1 + .../platform/fuchsia/flutter/meta/flutter_aot_product_runner.cmx | 1 + .../shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx | 1 + 17 files changed, 17 insertions(+) diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_aot.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_aot.cmx index 1fd411a909..c6705a70ac 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_aot.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_aot.cmx @@ -7,6 +7,7 @@ "deprecated-ambient-replace-as-executable" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_jit.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_jit.cmx index f180548bea..9d324df837 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_jit.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/goodbye_dart/meta/goodbye_dart_jit.cmx @@ -7,6 +7,7 @@ "deprecated-ambient-replace-as-executable" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_aot.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_aot.cmx index d1403659e6..d9cef693ce 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_aot.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_aot.cmx @@ -5,6 +5,7 @@ "sandbox": { "features": [], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_jit.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_jit.cmx index 7b2a041334..d9943aa01e 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_jit.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_app_dart/meta/hello_app_dart_jit.cmx @@ -7,6 +7,7 @@ "deprecated-ambient-replace-as-executable" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot.cmx index 6743d9a90f..2b38faa33c 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot.cmx @@ -5,6 +5,7 @@ "sandbox": { "features": [], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot_product.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot_product.cmx index 8aea3f5623..8c9faaaa7b 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot_product.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_aot_product.cmx @@ -5,6 +5,7 @@ "sandbox": { "features": [], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_debug.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_debug.cmx index dff7361d3f..73d3813e39 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_debug.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_debug.cmx @@ -5,6 +5,7 @@ "sandbox": { "features": [], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit.cmx index 37cf631c9b..4575dfe917 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit.cmx @@ -7,6 +7,7 @@ "deprecated-ambient-replace-as-executable" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit_product.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit_product.cmx index 23be623956..5a2fb49e3e 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit_product.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/examples/hello_dart/meta/hello_dart_jit_product.cmx @@ -7,6 +7,7 @@ "deprecated-ambient-replace-as-executable" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_aot_runner_test.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_aot_runner_test.cmx index 1b3a48cfef..273ac887dc 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_aot_runner_test.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_aot_runner_test.cmx @@ -6,6 +6,7 @@ "services": [ "fuchsia.cobalt.LoggerFactory", "fuchsia.fonts.Provider", + "fuchsia.intl.PropertyProvider", "fuchsia.logger.LogSink", "fuchsia.modular.Clipboard", "fuchsia.modular.ContextWriter", diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_jit_runner_test.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_jit_runner_test.cmx index 836b1ca179..02feaf8ca3 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_jit_runner_test.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/integration/meta/dart_jit_runner_test.cmx @@ -9,6 +9,7 @@ "services": [ "fuchsia.cobalt.LoggerFactory", "fuchsia.fonts.Provider", + "fuchsia.intl.PropertyProvider", "fuchsia.logger.LogSink", "fuchsia.modular.Clipboard", "fuchsia.modular.ContextWriter", diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx index f9754ac61c..cb0587353f 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx @@ -9,6 +9,7 @@ ], "services": [ "fuchsia.feedback.CrashReporter", + "fuchsia.intl.PropertyProvider", "fuchsia.logger.LogSink", "fuchsia.net.NameLookup", "fuchsia.netstack.Netstack", diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx index fef9806e6c..bbf0d394c5 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx @@ -9,6 +9,7 @@ ], "services": [ "fuchsia.feedback.CrashReporter", + "fuchsia.intl.PropertyProvider", "fuchsia.logger.LogSink", "fuchsia.net.NameLookup", "fuchsia.netstack.Netstack", diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx index 4035d927b5..36e7ac8ac5 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx @@ -8,6 +8,7 @@ "root-ssl-certificates" ], "services": [ + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Environment" ] } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx b/engine/src/flutter/shell/platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx index 8d02c1e6a9..c3d95e3827 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx @@ -6,6 +6,7 @@ "services": [ "fuchsia.cobalt.LoggerFactory", "fuchsia.fonts.Provider", + "fuchsia.intl.PropertyProvider", "fuchsia.logger.LogSink", "fuchsia.modular.Clipboard", "fuchsia.modular.ContextWriter", diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_aot_product_runner.cmx b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_aot_product_runner.cmx index d4fd774fe4..b127787027 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_aot_product_runner.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_aot_product_runner.cmx @@ -15,6 +15,7 @@ "fuchsia.deprecatedtimezone.Timezone", "fuchsia.feedback.CrashReporter", "fuchsia.fonts.Provider", + "fuchsia.intl.PropertyProvider", "fuchsia.net.NameLookup", "fuchsia.netstack.Netstack", "fuchsia.posix.socket.Provider", diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx index fedcb77867..015acc94b4 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx @@ -9,6 +9,7 @@ ], "services": [ "fuchsia.accessibility.semantics.SemanticsManager", + "fuchsia.intl.PropertyProvider", "fuchsia.sys.Launcher" ] }