Chromium Code Reviews| Index: build/config/BUILDCONFIG.gn |
| diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
| index 92d0b6e12877497f30aafe083d2a08da38e4b4e7..341be421ff9adf7e8ca8ecf80d92a25b9e774827 100644 |
| --- a/build/config/BUILDCONFIG.gn |
| +++ b/build/config/BUILDCONFIG.gn |
| @@ -508,6 +508,8 @@ if (is_win) { |
| # that shouldn't use the windows subsystem. |
| "//build/config/win:console", |
| ] |
| +} else if (is_mac) { |
| + _mac_linker_configs = [ "//build/config/mac:strip_all" ] |
|
Dirk Pranke
2016/05/31 19:58:19
It might make more sense to have a single generic
Robert Sesek
2016/06/01 20:21:05
If I do (in //build/config/mac/BUILD.gn):
config(
Dirk Pranke
2016/06/01 21:16:54
Yeah, I wasn't sure if that would work or not. Fai
|
| } |
| # Executable defaults. |
| @@ -517,6 +519,8 @@ _executable_configs = _native_compiler_configs + [ |
| ] |
| if (is_win) { |
| _executable_configs += _windows_linker_configs |
| +} else if (is_mac) { |
| + _executable_configs += _mac_linker_configs |
| } |
| set_defaults("executable") { |
| configs = _executable_configs |
| @@ -540,6 +544,8 @@ if (is_win) { |
| # want this can remove this config. |
| _shared_library_configs += |
| [ "//build/config/android:hide_native_jni_exports" ] |
| +} else if (is_mac) { |
| + _shared_library_configs += _mac_linker_configs |
| } |
| set_defaults("shared_library") { |
| configs = _shared_library_configs |