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

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

Issue 1927273002: [Mac/GN] Add a BUILD.gn file for //chrome/app_shim. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-tools
Patch Set: Docs 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 | chrome/app_shim/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 2105afa790bf46753be9eb3f7fea28e13d9e5630..5e74a960ad21bde0df86b15f1fd0f11dbec76cb0 100644
--- a/build/config/mac/rules.gni
+++ b/build/config/mac/rules.gni
@@ -164,6 +164,10 @@ template("mac_framework_bundle") {
# output_name:
# (optional) string, name of the generated app without the
# .app suffix. If omitted, defaults to target_name.
+#
+# extra_configs:
+# (optional) list of label, additional configs to apply to the
+# executable target.
template("mac_app_bundle") {
assert(defined(invoker.info_plist),
"The Info.plist file must be specified for $target_name")
@@ -188,6 +192,9 @@ template("mac_app_bundle") {
"output_name",
"visibility",
])
+ if (defined(extra_configs)) {
+ configs += extra_configs
+ }
output_name = _output_name
output_dir = "$target_out_dir/$_executable_target"
}
« no previous file with comments | « no previous file | chrome/app_shim/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698