Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: runtime/observatory/BUILD.gn

Issue 2996903002: [infra] Translate _sources.gypi files to _sources.gni files (Closed)
Patch Set: Fix script Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/vmservice_sources.gypi ('k') | runtime/observatory/observatory_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/BUILD.gn
diff --git a/runtime/observatory/BUILD.gn b/runtime/observatory/BUILD.gn
index 229a92381da40e5cb0333837b18867c4b5a5c243..71fa8f7615bd59368595ac7142b6ccb0e38ae39c 100644
--- a/runtime/observatory/BUILD.gn
+++ b/runtime/observatory/BUILD.gn
@@ -5,6 +5,7 @@
import("../../build/executable_suffix.gni")
import("../../build/prebuilt_dart_sdk.gni")
import("../../build/dart_host_toolchain.gni")
+import("observatory_sources.gni")
# Construct arguments to the observatory tool for finding pub.
pub_build_deps = []
@@ -28,14 +29,8 @@ if (!prebuilt_dart_exe_works) {
current_dir = rebase_path(".", "//")
# Helper build rules for packaging the Dart observatory resources.
-observatory_sources_gypi =
- exec_script("../../tools/gypi_to_gn.py",
- [ rebase_path("../observatory/observatory_sources.gypi") ],
- "scope",
- [ "../observatory/observatory_sources.gypi" ])
-
copy("copy_observatory") {
- sources = rebase_path(observatory_sources_gypi.sources, "", ".")
+ sources = rebase_path(observatory_sources, "", ".")
outputs = [
"$root_gen_dir/observatory_copy/{{source_root_relative_dir}}/{{source_file_part}}",
]
@@ -97,7 +92,7 @@ action("pub_build_observatory") {
":copy_observatory_deps",
] + pub_build_deps
- sources = rebase_path(observatory_sources_gypi.sources,
+ sources = rebase_path(observatory_sources,
"",
"$root_gen_dir/observatory_copy/$current_dir")
« no previous file with comments | « runtime/lib/vmservice_sources.gypi ('k') | runtime/observatory/observatory_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698