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

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

Issue 1999513002: [Mac/GN] Implement dSYM generation and stripping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment++ Created 4 years, 6 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 | « build/config/mac/BUILD.gn ('k') | build/config/mac/symbols.gni » ('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 40e221b7fa0aa279d9226b2b28f8e6c34a707bfb..651f26312015d69090b2ff15ca778c2c423c31b0 100644
--- a/build/config/mac/rules.gni
+++ b/build/config/mac/rules.gni
@@ -214,6 +214,9 @@ template("mac_framework_bundle") {
# (optional) list of label, additional configs to apply to the
# executable target.
#
+# remove_configs:
+# (optional) list of label, default configs to remove from the target.
+#
# extra_substitutions:
# (optional) string array, 'key=value' pairs for extra fields which are
# specified in a source Info.plist template.
@@ -254,6 +257,9 @@ template("mac_app_bundle") {
if (defined(extra_configs)) {
configs += extra_configs
}
+ if (defined(remove_configs)) {
+ configs -= remove_configs
+ }
output_name = _output_name
output_dir = "$target_out_dir/$_executable_target"
}
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | build/config/mac/symbols.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698