Always check out google_benchmark, part 4.

Remove use of non-WebRTC-specific arg to control benchmark use.

Bug: chromium:1404759
Change-Id: If50b215ff6c7698d385d1271bc8b6c38ed443e32
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297680
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39556}
This commit is contained in:
Peter Kasting 2023-03-14 09:56:25 -07:00 committed by WebRTC LUCI CQ
parent 44853a2718
commit 049f5ef9b9
4 changed files with 4 additions and 5 deletions

View File

@ -628,7 +628,7 @@ if (rtc_include_tests && !build_with_chromium) {
}
}
if (enable_google_benchmarks && rtc_enable_google_benchmarks) {
if (rtc_enable_google_benchmarks) {
rtc_test("benchmarks") {
testonly = true
deps = [

View File

@ -2041,7 +2041,7 @@ if (rtc_include_tests) {
"synchronization:mutex",
"third_party/sigslot",
]
if (enable_google_benchmarks && rtc_enable_google_benchmarks) {
if (rtc_enable_google_benchmarks) {
deps += [ "synchronization:synchronization_unittests" ]
}
if (is_win) {

View File

@ -73,8 +73,7 @@ rtc_library("yield_policy") {
]
}
if (rtc_include_tests && enable_google_benchmarks &&
rtc_enable_google_benchmarks) {
if (rtc_include_tests && rtc_enable_google_benchmarks) {
rtc_library("synchronization_unittests") {
testonly = true
sources = [

View File

@ -495,7 +495,7 @@ rtc_library("video_test_support") {
}
if (rtc_include_tests) {
if (enable_google_benchmarks && rtc_enable_google_benchmarks) {
if (rtc_enable_google_benchmarks) {
rtc_library("benchmark_main") {
testonly = true
sources = [ "benchmark_main.cc" ]