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

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: Add a comment Created 4 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
Index: build/config/mac/rules.gni
diff --git a/build/config/mac/rules.gni b/build/config/mac/rules.gni
index 9be71bcb5e81da2db80e436c59594880a00b9a90..ebbfbecd0fba304e0062d9fad627f00f92f80aee 100644
--- a/build/config/mac/rules.gni
+++ b/build/config/mac/rules.gni
@@ -209,6 +209,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.
@@ -249,6 +252,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"
}

Powered by Google App Engine
This is Rietveld 408576698