| Index: build/config/BUILDCONFIG.gn
|
| diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
| index 86fceae3a3b4f7ce5fcbc8551387a359919faf82..a55a56582fb4912befa3719d03e1fc7a9fb1c489 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" ]
|
| }
|
|
|
| # 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
|
|
|