Index: webrtc/modules/audio_coding/BUILD.gn |
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
index 27c1060e44d5dd09152ef73a9acb96b06ff555f8..1dbc929e8f38b83980601291d98f7f0acf972d99 100644 |
--- a/webrtc/modules/audio_coding/BUILD.gn |
+++ b/webrtc/modules/audio_coding/BUILD.gn |
@@ -1140,6 +1140,11 @@ if (rtc_include_tests) { |
configs += [ "../..:common_config" ] |
public_configs = [ "../..:common_inherited_config" ] |
+ if (!is_debug) { |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
+ configs += [ "//build/config/compiler:optimize_max" ] |
+ } |
+ |
if (is_clang) { |
# Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
configs -= [ "//build/config/clang:find_bad_constructs" ] |