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

Unified Diff: mojo/public/tools/bindings/mojom.gni

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 | « mojo/public/tools/bindings/BUILD.gn ('k') | ppapi/native_client/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index 8708e7a22895d22aaa7926d7fc2b5a560ba36d1c..05d1f5226cf953b11f17fae0138a7be627886a1b 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -270,9 +270,9 @@ template("mojom") {
"-I",
rebase_path("//", root_build_dir),
"-o",
- rebase_path(root_gen_dir),
+ rebase_path(root_gen_dir, root_build_dir),
"--bytecode_path",
- rebase_path("$root_gen_dir/mojo/public/tools/bindings"),
+ rebase_path("$root_gen_dir/mojo/public/tools/bindings", root_build_dir),
]
if (defined(invoker.import_dirs)) {
@@ -378,7 +378,7 @@ template("mojom") {
"--impl_macro",
shared_component_impl_macro,
"--output_file",
- generated_shared_export_header,
+ rebase_path(generated_shared_export_header, root_build_dir),
"--relative_path",
rebase_path(generated_shared_export_header, root_gen_dir),
]
@@ -532,7 +532,7 @@ template("mojom") {
"--impl_macro",
"${invoker.component_macro_prefix}${bindings_configuration.component_macro_suffix}_IMPL",
"--output_file",
- generated_export_header,
+ rebase_path(generated_export_header, root_build_dir),
"--relative_path",
rebase_path(generated_export_header, root_gen_dir),
]
« no previous file with comments | « mojo/public/tools/bindings/BUILD.gn ('k') | ppapi/native_client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698