[hhh] Apply patch to flutter engine to fix hhh buildbot build step.

Change-Id: I13cceb1a784092f8c66d151eb8afeac0162a9c7a
Reviewed-on: https://dart-review.googlesource.com/c/80900
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
Alexander Aprelev 2018-10-19 18:10:44 +00:00
parent 781ea1be70
commit dcb665fa6d

View file

@ -0,0 +1,54 @@
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn
index bf4b8e6fb8..1fa0d73af6 100644
--- a/runtime/BUILD.gn
+++ b/runtime/BUILD.gn
@@ -6,41 +6,6 @@ import("//third_party/dart/runtime/bin/vmservice/vmservice_sources.gni")
import("$flutter_root/common/config.gni")
import("$flutter_root/testing/testing.gni")
-action("gen_embedded_resources_cc") {
- script = "//third_party/dart/runtime/tools/create_resources.py"
- output_file = "$target_gen_dir/embedded_resources.cc"
- outputs = [
- output_file,
- ]
-
- inputs = rebase_path(vmservice_sources,
- "",
- "//third_party/dart/runtime/bin/vmservice")
-
- args = [
- "--output",
- rebase_path(output_file),
- "--outer_namespace",
- "flutter",
- "--inner_namespace",
- "runtime",
- "--table_name",
- "flutter_embedded_service_isolate",
- "--root_prefix",
- rebase_path("//third_party/dart/runtime/bin/"),
- ] + rebase_path(inputs)
-}
-
-source_set("embedded_resources_cc") {
- sources = [
- "$target_gen_dir/embedded_resources.cc",
- ]
- deps = [
- ":gen_embedded_resources_cc",
- ]
- public_configs = [ "$flutter_root:config" ]
-}
-
source_set("test_font") {
sources = [
"test_font_data.cc",
@@ -84,7 +49,6 @@ source_set("runtime") {
]
deps = [
- ":embedded_resources_cc",
":test_font",
"$flutter_root/assets",
"$flutter_root/common",