mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 15:01:30 +00:00
[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:
parent
781ea1be70
commit
dcb665fa6d
1 changed files with 54 additions and 0 deletions
|
@ -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",
|
Loading…
Reference in a new issue