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

Unified Diff: headless/BUILD.gn

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 years, 7 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 | « extensions/BUILD.gn ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 63e8cfd521143128c589469cb48b73d412bf94c1..a038ce3cf09daefa81ad761cf81db79ace9f7a35 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -84,9 +84,9 @@ action("embed_resources") {
args = [
"--data_file",
- rebase_path("$root_out_dir/headless_lib.pak"),
+ rebase_path("$root_out_dir/headless_lib.pak", root_build_dir),
"--gendir",
- rebase_path("$root_gen_dir"),
+ rebase_path("$root_gen_dir", root_build_dir),
"--header_file",
"headless/embedded_resource_pak.h",
"--source_file",
@@ -119,7 +119,7 @@ grit("resources") {
]
grit_flags = [
"-E",
- "mojom_root=" + rebase_path(root_gen_dir),
+ "mojom_root=" + rebase_path(root_gen_dir, root_build_dir),
]
deps = [
":tab_socket__generator",
@@ -197,7 +197,7 @@ action("gen_devtools_client_api") {
"--protocol",
rebase_path(inputs[0], root_build_dir),
"--output_dir",
- rebase_path(target_gen_dir) + "/public",
+ rebase_path(target_gen_dir, root_build_dir) + "/public",
]
}
« no previous file with comments | « extensions/BUILD.gn ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698