Remove the content handler for its move to topaz. (flutter/engine#5289)
This commit is contained in:
@@ -30,14 +30,6 @@ group("flutter") {
|
||||
}
|
||||
}
|
||||
|
||||
if (is_fuchsia) {
|
||||
public_deps += [
|
||||
"$flutter_root/content_handler:aot",
|
||||
"$flutter_root/content_handler:jit",
|
||||
"$flutter_root/flow",
|
||||
]
|
||||
}
|
||||
|
||||
# If on the host, compile all unittests targets.
|
||||
if (current_toolchain == host_toolchain) {
|
||||
if (is_mac) {
|
||||
@@ -70,180 +62,10 @@ config("config") {
|
||||
include_dirs = [ ".." ]
|
||||
}
|
||||
|
||||
if (is_fuchsia) {
|
||||
import("//build/package.gni")
|
||||
group("dist") {
|
||||
testonly = true
|
||||
|
||||
package("flutter_aot_runner") {
|
||||
deps = [
|
||||
"$flutter_root/content_handler:aot",
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
deps += [
|
||||
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
|
||||
]
|
||||
}
|
||||
|
||||
binary = "flutter_aot_runner"
|
||||
|
||||
if (flutter_runtime_mode != "release") {
|
||||
resources = [
|
||||
{
|
||||
path = rebase_path(
|
||||
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
|
||||
dest = "observatory.tar"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
meta = [
|
||||
{
|
||||
path = rebase_path("content_handler/meta/sandbox")
|
||||
dest = "sandbox"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
package("flutter2_aot_runner") {
|
||||
deps = [
|
||||
"$flutter_root/content_handler:aot",
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
deps += [
|
||||
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
|
||||
]
|
||||
}
|
||||
|
||||
binary = "flutter_aot_runner"
|
||||
|
||||
if (flutter_runtime_mode != "release") {
|
||||
resources = [
|
||||
{
|
||||
path = rebase_path(
|
||||
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
|
||||
dest = "observatory.tar"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
meta = [
|
||||
{
|
||||
path = rebase_path("content_handler/meta/sandbox")
|
||||
dest = "sandbox"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
package("flutter_jit_runner") {
|
||||
snapshot_label = "$flutter_root/lib/snapshot:generate_snapshot_bin"
|
||||
snapshot_gen_dir = get_label_info(snapshot_label, "target_gen_dir")
|
||||
|
||||
deps = [
|
||||
"$flutter_root/content_handler:jit",
|
||||
snapshot_label,
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
deps += [
|
||||
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
|
||||
]
|
||||
}
|
||||
|
||||
binary = "flutter_jit_runner"
|
||||
|
||||
resources = [
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/vm_isolate_snapshot.bin")
|
||||
dest = "vm_snapshot_data.bin"
|
||||
},
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/vm_snapshot_instructions.bin")
|
||||
dest = "vm_snapshot_instructions.bin"
|
||||
},
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/isolate_snapshot.bin")
|
||||
dest = "isolate_core_snapshot_data.bin"
|
||||
},
|
||||
{
|
||||
path =
|
||||
rebase_path("$snapshot_gen_dir/isolate_snapshot_instructions.bin")
|
||||
dest = "isolate_core_snapshot_instructions.bin"
|
||||
},
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
resources += [
|
||||
{
|
||||
path = rebase_path(
|
||||
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
|
||||
dest = "observatory.tar"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
meta = [
|
||||
{
|
||||
path = rebase_path("content_handler/meta/sandbox")
|
||||
dest = "sandbox"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
package("flutter2_jit_runner") {
|
||||
snapshot_label = "//topaz/runtime/flutter_runner/kernel:kernel_core_snapshot"
|
||||
snapshot_gen_dir = get_label_info(snapshot_label, "target_gen_dir")
|
||||
|
||||
deps = [
|
||||
"$flutter_root/content_handler:jit",
|
||||
snapshot_label,
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
deps += [
|
||||
"//third_party/dart/runtime/observatory:embedded_archive_observatory",
|
||||
]
|
||||
}
|
||||
|
||||
binary = "flutter_jit_runner"
|
||||
|
||||
resources = [
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/vm_isolate_snapshot.bin")
|
||||
dest = "vm_snapshot_data.bin"
|
||||
},
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/vm_snapshot_instructions.bin")
|
||||
dest = "vm_snapshot_instructions.bin"
|
||||
},
|
||||
{
|
||||
path = rebase_path("$snapshot_gen_dir/isolate_snapshot.bin")
|
||||
dest = "isolate_core_snapshot_data.bin"
|
||||
},
|
||||
{
|
||||
path =
|
||||
rebase_path("$snapshot_gen_dir/isolate_snapshot_instructions.bin")
|
||||
dest = "isolate_core_snapshot_instructions.bin"
|
||||
},
|
||||
]
|
||||
if (flutter_runtime_mode != "release") {
|
||||
resources += [
|
||||
{
|
||||
path = rebase_path(
|
||||
"$root_gen_dir/observatory/embedded_archive_observatory.tar")
|
||||
dest = "observatory.tar"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
meta = [
|
||||
{
|
||||
path = rebase_path("content_handler/meta/sandbox")
|
||||
dest = "sandbox"
|
||||
},
|
||||
]
|
||||
}
|
||||
} else {
|
||||
group("dist") {
|
||||
testonly = true
|
||||
|
||||
deps = [
|
||||
"$flutter_root/sky/dist",
|
||||
]
|
||||
}
|
||||
deps = [
|
||||
"$flutter_root/sky/dist",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user