Only build fuchsia_perf_tests on fuchsia os.

This is to fix android compilation failure on CQ:
https://ci.chromium.org/ui/p/webrtc/builders/try/android_compile_arm64_rel/51046/overview

Change-Id: If40d95761b40d2d322b00d01d31eb18d31fac02d
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290843
Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#39065}
This commit is contained in:
Jeremy Leconte 2023-01-11 10:55:35 +01:00 committed by WebRTC LUCI CQ
parent 47d4be732f
commit 128afb1a7e

View File

@ -47,7 +47,6 @@ if (!build_with_chromium) {
}
if (rtc_include_tests) {
deps += [
":fuchsia_perf_tests",
":rtc_unittests",
":video_engine_tests",
":voip_unittests",
@ -110,6 +109,9 @@ if (!build_with_chromium) {
if ((is_linux || is_chromeos) && rtc_use_pipewire) {
deps += [ "modules/desktop_capture:shared_screencast_stream_test" ]
}
if (is_fuchsia) {
deps += [ ":fuchsia_perf_tests" ]
}
}
if (target_os == "android") {
deps += [ "tools_webrtc:binary_version_check" ]
@ -724,20 +726,22 @@ if (rtc_include_tests && !build_with_chromium) {
}
}
rtc_test("fuchsia_perf_tests") {
testonly = true
deps = [
#TODO(fxbug.dev/115601) - Enable when fixed
#"call:call_perf_tests",
#"video:video_pc_full_stack_tests",
"modules/audio_coding:audio_coding_perf_tests",
"modules/audio_processing:audio_processing_perf_tests",
"pc:peerconnection_perf_tests",
"test:test_main",
"video:video_full_stack_tests",
]
if (is_fuchsia) {
rtc_test("fuchsia_perf_tests") {
testonly = true
deps = [
#TODO(fxbug.dev/115601) - Enable when fixed
#"call:call_perf_tests",
#"video:video_pc_full_stack_tests",
"modules/audio_coding:audio_coding_perf_tests",
"modules/audio_processing:audio_processing_perf_tests",
"pc:peerconnection_perf_tests",
"test:test_main",
"video:video_full_stack_tests",
]
data = webrtc_perf_tests_resources
data = webrtc_perf_tests_resources
}
}
rtc_test("webrtc_nonparallel_tests") {