[fuchsia] Sandbox Flutter runner (flutter/engine#4410)

This commit is contained in:
Adam Barth
2017-12-04 12:35:38 -08:00
committed by GitHub
parent e7d9371831
commit e76704006f

View File

@@ -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_name = "flutter"
package("flutter_aot_runner") {
deps = [
":flutter",
"$flutter_root/content_handler:aot",
]
binaries = [
{
name = "flutter_jit_runner"
},
{
name = "flutter_aot_runner"
},
]
binary = "flutter_aot_runner"
meta = [ {
path = rebase_path("content_handler/meta/sandbox")
dest = "sandbox"
} ]
}
package("flutter_jit_runner") {
deps = [
"$flutter_root/content_handler:jit",
]
binary = "flutter_jit_runner"
meta = [ {
path = rebase_path("content_handler/meta/sandbox")
dest = "sandbox"
} ]
}
} else {
group("dist") {
testonly = true