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

Unified Diff: build/config/mac/rules.gni

Issue 1886813003: [Mac/iOS/GN] Allow targets to override the output directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-patch
Patch Set: Rebase Created 4 years, 8 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 | « no previous file | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mac/rules.gni
diff --git a/build/config/mac/rules.gni b/build/config/mac/rules.gni
index 6ffe613e0b8e9208c6036d104d68453ce078fce3..4308dab349d09b4b550fba647e7a8002289599af 100644
--- a/build/config/mac/rules.gni
+++ b/build/config/mac/rules.gni
@@ -57,13 +57,14 @@ template("framework_bundle") {
output_name = _output_name
output_prefix_override = true
output_extension = ""
+ output_dir = "$target_out_dir/$_shared_library_target"
}
bundle_data(_shared_library_bundle_data) {
visibility = [ ":$_framework_target" ]
forward_variables_from(invoker, [ "testonly" ])
sources = [
- "$root_out_dir/${_output_name}",
+ "$target_out_dir/$_shared_library_target/$_output_name",
]
outputs = [
"{{bundle_executable_dir}}/$_output_name",
« no previous file with comments | « no previous file | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698