| 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"
|
| }
|
|
|