未验证 提交 b5d0a4ac 编写于 作者: A Adam Barth 提交者: GitHub

[fuchsia] Sandbox Flutter runner (#4410)

上级 3e84bf01
......@@ -23,8 +23,8 @@ group("flutter") {
if (is_fuchsia) {
public_deps += [
"$flutter_root/content_handler",
"$flutter_root/content_handler:aot_content_handler",
"$flutter_root/content_handler:aot",
"$flutter_root/content_handler:jit",
"$flutter_root/examples",
"$flutter_root/flow",
]
......@@ -62,25 +62,32 @@ config("config") {
if (is_fuchsia) {
import("//build/package.gni")
package("package") {
system_image = true
testonly = true
package("flutter_aot_runner") {
deps = [
"$flutter_root/content_handler:aot",
]
binary = "flutter_aot_runner"
package_name = "flutter"
meta = [ {
path = rebase_path("content_handler/meta/sandbox")
dest = "sandbox"
} ]
}
package("flutter_jit_runner") {
deps = [
":flutter",
"$flutter_root/content_handler:jit",
]
binaries = [
{
name = "flutter_jit_runner"
},
{
name = "flutter_aot_runner"
},
]
binary = "flutter_jit_runner"
meta = [ {
path = rebase_path("content_handler/meta/sandbox")
dest = "sandbox"
} ]
}
} else {
group("dist") {
testonly = true
......
......@@ -86,12 +86,12 @@ template("flutter_content_handler") {
}
}
flutter_content_handler("content_handler") {
output_name = "flutter_jit_runner"
extra_deps = [ "//third_party/dart/runtime:libdart_jit" ]
}
flutter_content_handler("aot_content_handler") {
flutter_content_handler("aot") {
output_name = "flutter_aot_runner"
extra_deps = [ "//third_party/dart/runtime:libdart_precompiled_runtime" ]
}
flutter_content_handler("jit") {
output_name = "flutter_jit_runner"
extra_deps = [ "//third_party/dart/runtime:libdart_jit" ]
}
{
"features": [
"root-ssl-certificates",
"system-temp",
"vulkan"
]
}
......@@ -1256,6 +1256,7 @@ LIBRARY: engine
ORIGIN: ../../../LICENSE
TYPE: LicenseType.bsd
FILE: ../../../flutter/DEPS
FILE: ../../../flutter/content_handler/meta/sandbox
FILE: ../../../flutter/frontend_server/.packages
FILE: ../../../flutter/frontend_server/bin/starter.dart
FILE: ../../../flutter/frontend_server/lib/server.dart
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册