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