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

Unified Diff: runtime/observatory/BUILD.gn

Issue 2301833003: GN: Relativize occurrances of //dart (Closed)
Patch Set: Further cleanup. Remove unneeded rebase_path()s Created 4 years, 3 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/bin/BUILD.gn ('k') | sdk/lib/rules.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 98cfe319f5ef525912382acc0242a38f90321ebb..c0903ea49725f1104cf9ef5e85f1b2189194551f 100644
--- a/runtime/observatory/BUILD.gn
+++ b/runtime/observatory/BUILD.gn
@@ -17,9 +17,9 @@ declare_args() {
observatory_sources_gypi =
exec_script("../../tools/gypi_to_gn.py",
[ rebase_path(
- "//dart/runtime/observatory/observatory_sources.gypi") ],
+ "../observatory/observatory_sources.gypi") ],
"scope",
- [ "//dart/runtime/observatory/observatory_sources.gypi" ])
+ [ "../observatory/observatory_sources.gypi" ])
copy("copy_observatory") {
sources = rebase_path(observatory_sources_gypi.sources,
@@ -49,11 +49,11 @@ action("write_observatory_pubspec_yaml") {
rebase_path("$root_gen_dir/observatory_copy/dart/runtime/observatory/"),
"--command",
"rewrite",
- rebase_path("//dart/runtime/observatory/pubspec.yaml"),
+ rebase_path("../observatory/pubspec.yaml"),
rebase_path(
"$root_gen_dir/observatory_copy/dart/runtime/observatory/pubspec.yaml"),
"../../third_party/",
- rebase_path("../../../dart/third_party/"),
+ rebase_path("../../third_party/"),
]
outputs = [
@@ -66,7 +66,7 @@ action("copy_observatory_deps") {
":write_observatory_pubspec_yaml",
]
- script = "//dart/tools/observatory_tool.py"
+ script = "../../tools/observatory_tool.py"
inputs = [
script,
@@ -101,7 +101,7 @@ action("pub_build_observatory") {
":copy_observatory_deps",
]
- script = "//dart/tools/observatory_tool.py"
+ script = "../../tools/observatory_tool.py"
inputs = [
script,
@@ -130,7 +130,7 @@ action("deploy_observatory") {
":pub_build_observatory",
]
- script = "//dart/tools/observatory_tool.py"
+ script = "../../tools/observatory_tool.py"
inputs = [
script,
@@ -157,7 +157,7 @@ action("archive_observatory") {
":deploy_observatory",
]
- script = "//dart/runtime/tools/create_archive.py"
+ script = "../tools/create_archive.py"
inputs = [
script,
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | sdk/lib/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698