diff options
Diffstat (limited to 'chromium/third_party/webrtc/BUILD.gn')
-rw-r--r-- | chromium/third_party/webrtc/BUILD.gn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/webrtc/BUILD.gn b/chromium/third_party/webrtc/BUILD.gn index f7d15f47a9f..adb78df4246 100644 --- a/chromium/third_party/webrtc/BUILD.gn +++ b/chromium/third_party/webrtc/BUILD.gn @@ -265,6 +265,10 @@ config("common_config") { defines += [ "WEBRTC_USE_H264" ] } + if (rtc_use_absl_mutex) { + defines += [ "WEBRTC_ABSL_MUTEX" ] + } + if (rtc_disable_logging) { defines += [ "RTC_DISABLE_LOGGING" ] } @@ -580,6 +584,14 @@ if (rtc_include_tests) { } } + rtc_test("benchmarks") { + testonly = true + deps = [ + "rtc_base/synchronization:mutex_benchmark", + "test:benchmark_main", + ] + } + # This runs tests that must run in real time and therefore can take some # time to execute. They are in a separate executable to avoid making the # regular unittest suite too slow to run frequently. |