Use max optimization when compiling neteq_performance_test.
The compiler optimization for Windows is O1 by default in GN, but O2 in GYP.
This might help explain the regression observed on neteq_performance_unittest.
NOTRY=True
BUG=641966
Review-Url: https://codereview.webrtc.org/2291253003
Cr-Commit-Position: refs/heads/master@{#13999}
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 1f7f521..9857423 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -785,6 +785,12 @@
":rtc_unittests_config",
]
public_configs = [ ":common_inherited_config" ]
+
+ if (!is_debug) {
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
+
sources = [
"call/call_perf_tests.cc",
"call/rampup_tests.cc",