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:
parent
44853a2718
commit
049f5ef9b9
2
BUILD.gn
2
BUILD.gn
@ -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 = [
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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 = [
|
||||
|
||||
@ -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" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user