GN: Apply optimize_max only on windows
For iOS and Android, the default is to optimize for size. For Linux and Mac, there is no difference between default_optimization and optimize_max. NOTRY=True BUG=webrtc:6311 Review-Url: https://codereview.webrtc.org/2305403002 Cr-Commit-Position: refs/heads/master@{#14075}
This commit is contained in:
parent
1e714ae7a6
commit
f71d298217
@ -180,7 +180,7 @@ rtc_common_inherited_config = webrtc_root + ":common_inherited_config"
|
||||
rtc_remove_configs = []
|
||||
rtc_add_configs = [ rtc_common_config ]
|
||||
|
||||
if (!is_debug) {
|
||||
if (!is_debug && is_win) {
|
||||
rtc_remove_configs += [ "//build/config/compiler:default_optimization" ]
|
||||
rtc_add_configs += [ "//build/config/compiler:optimize_max" ]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user