[fuchsia] Add CML files for dart_runner on CFv2. (flutter/engine#28491)
Bug: 79871 Partial re-land of #27226 (which was reverted in #28036 due to a flaky test). Only adds in the CML files for a CFv2 dart_runner without the corresponding C++ and GN changes.
This commit is contained in:
@@ -1381,9 +1381,14 @@ FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/logging.h
|
|||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/main.cc
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/main.cc
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/aot_product_runtime
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/aot_product_runtime
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/aot_runtime
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/aot_runtime
|
||||||
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/common.shard.cml
|
||||||
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cml
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cmx
|
||||||
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_runner.cml
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_runner.cmx
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_aot_runner.cmx
|
||||||
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cml
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cmx
|
||||||
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_runner.cml
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_runner.cmx
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_jit_runner.cmx
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx
|
||||||
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/jit_product_runtime
|
FILE: ../../../flutter/shell/platform/fuchsia/dart_runner/meta/jit_product_runtime
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
{
|
||||||
|
capabilities: [
|
||||||
|
{
|
||||||
|
directory: "diagnostics",
|
||||||
|
rights: [ "connect" ],
|
||||||
|
path: "/diagnostics",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
use: [
|
||||||
|
{
|
||||||
|
directory: "config-data",
|
||||||
|
rights: [ "r*" ],
|
||||||
|
path: "/config/data",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
protocol: [
|
||||||
|
"fuchsia.component.runner.ComponentRunner",
|
||||||
|
"fuchsia.deprecatedtimezone.Timezone",
|
||||||
|
"fuchsia.feedback.CrashReporter",
|
||||||
|
"fuchsia.intl.PropertyProvider",
|
||||||
|
"fuchsia.logger.LogSink",
|
||||||
|
"fuchsia.posix.socket.Provider",
|
||||||
|
"fuchsia.tracing.provider.Registry",
|
||||||
|
],
|
||||||
|
from: "parent",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
expose: [
|
||||||
|
{
|
||||||
|
directory: "diagnostics",
|
||||||
|
from: "self",
|
||||||
|
to: "framework",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
{
|
||||||
|
include: [ "common.shard.cml" ],
|
||||||
|
program: {
|
||||||
|
runner: "elf",
|
||||||
|
binary: "bin/app",
|
||||||
|
forward_stdout_to: "log",
|
||||||
|
forward_stderr_to: "log",
|
||||||
|
},
|
||||||
|
capabilities: [
|
||||||
|
{
|
||||||
|
runner: "dart_aot_product_runner",
|
||||||
|
path: "/svc/fuchsia.component.runner.ComponentRunner",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
expose: [
|
||||||
|
{
|
||||||
|
runner: "dart_aot_product_runner",
|
||||||
|
from: "self",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
{
|
||||||
|
include: [ "common.shard.cml" ],
|
||||||
|
program: {
|
||||||
|
runner: "elf",
|
||||||
|
binary: "bin/app",
|
||||||
|
forward_stdout_to: "log",
|
||||||
|
forward_stderr_to: "log",
|
||||||
|
},
|
||||||
|
capabilities: [
|
||||||
|
{
|
||||||
|
runner: "dart_aot_runner",
|
||||||
|
path: "/svc/fuchsia.component.runner.ComponentRunner",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
expose: [
|
||||||
|
{
|
||||||
|
runner: "dart_aot_runner",
|
||||||
|
from: "self",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
{
|
||||||
|
include: [ "common.shard.cml" ],
|
||||||
|
program: {
|
||||||
|
runner: "elf",
|
||||||
|
binary: "bin/app",
|
||||||
|
forward_stdout_to: "log",
|
||||||
|
forward_stderr_to: "log",
|
||||||
|
// needed for JIT builds
|
||||||
|
job_policy_ambient_mark_vmo_exec: "true",
|
||||||
|
},
|
||||||
|
capabilities: [
|
||||||
|
{
|
||||||
|
runner: "dart_jit_product_runner",
|
||||||
|
path: "/svc/fuchsia.component.runner.ComponentRunner",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
expose: [
|
||||||
|
{
|
||||||
|
runner: "dart_jit_product_runner",
|
||||||
|
from: "self",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
{
|
||||||
|
include: [ "common.shard.cml" ],
|
||||||
|
program: {
|
||||||
|
runner: "elf",
|
||||||
|
binary: "bin/app",
|
||||||
|
forward_stdout_to: "log",
|
||||||
|
forward_stderr_to: "log",
|
||||||
|
// needed for JIT builds
|
||||||
|
job_policy_ambient_mark_vmo_exec: "true",
|
||||||
|
},
|
||||||
|
capabilities: [
|
||||||
|
{
|
||||||
|
runner: "dart_jit_runner",
|
||||||
|
path: "/svc/fuchsia.component.runner.ComponentRunner",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
expose: [
|
||||||
|
{
|
||||||
|
runner: "dart_jit_runner",
|
||||||
|
from: "self",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -205,6 +205,22 @@ while true; do
|
|||||||
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
||||||
\"path_prefix_match\": \"/flutter_aot_runner\", \"path_prefix_replacement\": \"/flutter_aot_runner\"
|
\"path_prefix_match\": \"/flutter_aot_runner\", \"path_prefix_replacement\": \"/flutter_aot_runner\"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
||||||
|
\"path_prefix_match\": \"/dart_jit_runner/\", \"path_prefix_replacement\": \"/dart_jit_runner/\"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
||||||
|
\"path_prefix_match\": \"/dart_jit_runner\", \"path_prefix_replacement\": \"/dart_jit_runner\"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
||||||
|
\"path_prefix_match\": \"/dart_aot_runner/\", \"path_prefix_replacement\": \"/dart_aot_runner/\"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"engine\",
|
||||||
|
\"path_prefix_match\": \"/dart_aot_runner\", \"path_prefix_replacement\": \"/dart_aot_runner\"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"devhost\",
|
\"host_match\": \"fuchsia.com\", \"host_replacement\": \"devhost\",
|
||||||
\"path_prefix_match\": \"/\", \"path_prefix_replacement\": \"/\"
|
\"path_prefix_match\": \"/\", \"path_prefix_replacement\": \"/\"
|
||||||
|
|||||||
Reference in New Issue
Block a user