diff --git a/api/BUILD.gn b/api/BUILD.gn index 579f8835f5..7e74c1a164 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -597,7 +597,7 @@ if (rtc_include_tests) { deps = [ ":libjingle_peerconnection_api", "../rtc_base:checks", - "../third_party/abseil-cpp/absl/memory:memory", + "//third_party/abseil-cpp/absl/memory:memory", ] } diff --git a/audio/BUILD.gn b/audio/BUILD.gn index d569d279df..b44bbe54ac 100644 --- a/audio/BUILD.gn +++ b/audio/BUILD.gn @@ -278,7 +278,7 @@ if (rtc_include_tests) { "../test:single_threaded_task_queue", "../test:test_common", "../test:test_main", - "//test:test_support", + "../test:test_support", "//testing/gtest", "//third_party/abseil-cpp/absl/memory", ] diff --git a/call/BUILD.gn b/call/BUILD.gn index 3e01381e19..6d2ea8204f 100644 --- a/call/BUILD.gn +++ b/call/BUILD.gn @@ -442,7 +442,7 @@ if (rtc_include_tests) { ] deps = [ ":bitrate_allocator", - "//test:test_support", + "../test:test_support", ] } rtc_source_set("mock_call_interfaces") { @@ -453,7 +453,7 @@ if (rtc_include_tests) { ] deps = [ ":call_interfaces", - "//test:test_support", + "../test:test_support", ] } @@ -470,7 +470,7 @@ if (rtc_include_tests) { "../system_wrappers", "../test:test_common", "../test:test_main", - "//test:test_support", + "../test:test_support", "//testing/gtest", ] } diff --git a/common_audio/BUILD.gn b/common_audio/BUILD.gn index 51cb1b0d56..267037de53 100644 --- a/common_audio/BUILD.gn +++ b/common_audio/BUILD.gn @@ -389,7 +389,7 @@ if (rtc_include_tests) { "../system_wrappers:cpu_features_api", "../test:fileutils", "../test:test_main", - "//test:test_support", + "../test:test_support", "//testing/gtest", ] diff --git a/common_video/BUILD.gn b/common_video/BUILD.gn index 6ac40b4b99..125bcfc558 100644 --- a/common_video/BUILD.gn +++ b/common_video/BUILD.gn @@ -95,8 +95,8 @@ if (rtc_include_tests) { "../rtc_base:rtc_base_tests_utils", "../test:fileutils", "../test:test_main", + "../test:test_support", "../test:video_test_common", - "//test:test_support", "//testing/gtest", "//third_party/libyuv", ] diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn index f36e4f0c20..455dcd0c9e 100644 --- a/modules/audio_coding/BUILD.gn +++ b/modules/audio_coding/BUILD.gn @@ -1500,7 +1500,7 @@ if (rtc_include_tests) { "../../rtc_base/system:arch", "../../test:test_main", "//testing/gtest", - "//test:test_support", + "../../test:test_support", ] + audio_coding_deps data = audio_decoder_unittests_resources @@ -1618,8 +1618,8 @@ if (rtc_include_tests) { "../../api:libjingle_peerconnection_api", "../../rtc_base:rtc_base_approved", "../../test:test_main", + "../../test:test_support", "../audio_processing", - "//test:test_support", "//testing/gtest", ] } @@ -1980,7 +1980,7 @@ if (rtc_include_tests) { "../../rtc_base:rtc_base_approved", "../../test:fileutils", "../../test:test_main", - "//test:test_support", + "../../test:test_support", "//testing/gtest", ] } diff --git a/modules/remote_bitrate_estimator/BUILD.gn b/modules/remote_bitrate_estimator/BUILD.gn index 3089016dc1..f21c6d89e4 100644 --- a/modules/remote_bitrate_estimator/BUILD.gn +++ b/modules/remote_bitrate_estimator/BUILD.gn @@ -228,7 +228,7 @@ if (rtc_include_tests) { "../../rtc_base:rtc_base_approved", "../../test:fileutils", "../../test:test_main", - "//test:test_support", + "../../test:test_support", "//testing/gtest", ] data = [ diff --git a/modules/rtp_rtcp/BUILD.gn b/modules/rtp_rtcp/BUILD.gn index 393fb3f63f..9bef2eef8e 100644 --- a/modules/rtp_rtcp/BUILD.gn +++ b/modules/rtp_rtcp/BUILD.gn @@ -330,7 +330,7 @@ if (rtc_include_tests) { ":rtp_rtcp", "../../test:fileutils", "../../test:test_main", - "//test:test_support", + "../../test:test_support", "//testing/gtest", ] } # test_packet_masks_metrics diff --git a/modules/video_capture/BUILD.gn b/modules/video_capture/BUILD.gn index 734fcbffae..6ec38fe3c4 100644 --- a/modules/video_capture/BUILD.gn +++ b/modules/video_capture/BUILD.gn @@ -190,9 +190,9 @@ if (!build_with_chromium) { "../../common_video:common_video", "../../rtc_base:rtc_base_approved", "../../system_wrappers:system_wrappers", + "../../test:test_support", "../../test:video_test_common", "../utility", - "//test:test_support", "//testing/gtest", ] deps += [ "../../test:test_main" ] diff --git a/rtc_tools/BUILD.gn b/rtc_tools/BUILD.gn index 3d9804c613..6f60ab1e92 100644 --- a/rtc_tools/BUILD.gn +++ b/rtc_tools/BUILD.gn @@ -36,8 +36,10 @@ group("rtc_tools") { ":tools_unittests", ] if (rtc_enable_protobuf) { + if (!build_with_chromium) { + deps += [ ":event_log_visualizer" ] + } deps += [ - ":event_log_visualizer", ":rtp_analyzer", ":unpack_aecdump", "network_tester", @@ -275,7 +277,7 @@ if (!build_with_chromium) { } if (rtc_include_tests) { - if (rtc_enable_protobuf) { + if (rtc_enable_protobuf && !build_with_chromium) { rtc_executable("event_log_visualizer") { testonly = true sources = [ @@ -357,8 +359,6 @@ if (rtc_include_tests) { deps = [ ":command_line_parser", - ":frame_editing_lib", - ":reference_less_video_analysis_lib", ":video_file_reader", ":video_file_writer", ":video_quality_analysis", @@ -367,12 +367,19 @@ if (rtc_include_tests) { "../rtc_base:checks", "../test:fileutils", "../test:test_main", - "//test:test_support", + "../test:test_support", "//testing/gtest", "//third_party/abseil-cpp/absl/memory", "//third_party/libyuv", ] + if (!build_with_chromium) { + deps += [ + ":frame_editing_lib", + ":reference_less_video_analysis_lib", + ] + } + if (rtc_enable_protobuf) { deps += [ "network_tester:network_tester_unittests" ] } diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index ff731baccf..f703918081 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -1190,7 +1190,7 @@ if (is_ios || is_mac) { "../modules/video_coding:video_codec_interface", "../rtc_base:rtc_base_tests_utils", "../rtc_base/system:unused", - "//test:test_support", + "../test:test_support", "//third_party/ocmock", ] diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn index 8a3f8ccd25..c513a66d45 100644 --- a/sdk/android/BUILD.gn +++ b/sdk/android/BUILD.gn @@ -1386,23 +1386,23 @@ if (is_android) { ":native_api_video", ":opensles_audio_device_module", ":video_jni", + "../../api/audio_codecs:builtin_audio_decoder_factory", + "../../api/audio_codecs:builtin_audio_encoder_factory", + "../../api/video:video_frame", + "../../media:rtc_audio_video", + "../../media:rtc_internal_video_codecs", + "../../media:rtc_media_base", + "../../modules/audio_device:audio_device", + "../../modules/audio_device:mock_audio_device", + "../../modules/audio_processing:audio_processing", + "../../modules/utility:utility", + "../../pc:libjingle_peerconnection", + "../../rtc_base:checks", + "../../rtc_base:rtc_base_approved", "../../system_wrappers:system_wrappers", - "//api/audio_codecs:builtin_audio_decoder_factory", - "//api/audio_codecs:builtin_audio_encoder_factory", - "//api/video:video_frame", - "//media:rtc_audio_video", - "//media:rtc_internal_video_codecs", - "//media:rtc_media_base", - "//modules/audio_device:audio_device", - "//modules/audio_device:mock_audio_device", - "//modules/audio_processing:audio_processing", - "//modules/utility:utility", - "//pc:libjingle_peerconnection", - "//rtc_base:checks", - "//rtc_base:rtc_base_approved", - "//test:fileutils", - "//test:test_support", - "//testing/gtest", + "../../test:fileutils", + "../../test:test_support", + "../../testing/gtest", "//third_party/abseil-cpp/absl/memory", ] } diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn index b3e09f8b57..143a347bed 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -179,7 +179,7 @@ if (rtc_include_tests) { "..:webrtc_common", "../rtc_base:rtc_base_approved", "../test:test_main", - "//test:test_support", + "../test:test_support", "//testing/gtest", ] diff --git a/test/BUILD.gn b/test/BUILD.gn index 29d577445c..c7218b66a1 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -211,8 +211,8 @@ if (rtc_include_tests) { "../rtc_base:rtc_base", "../system_wrappers:field_trial", "../system_wrappers:metrics", - "../third_party/abseil-cpp/absl/memory:memory", "//testing/gtest", + "//third_party/abseil-cpp/absl/memory:memory", # TODO(bugs.webrtc.org/9792): This is needed for downstream projects on # Android, where it's replaced by an internal version of fileutils that diff --git a/test/scenario/BUILD.gn b/test/scenario/BUILD.gn index 3e61af311d..f3746b8ff9 100644 --- a/test/scenario/BUILD.gn +++ b/test/scenario/BUILD.gn @@ -118,9 +118,9 @@ if (rtc_include_tests) { "../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_tests_utils", "../../system_wrappers", + "../../system_wrappers:field_trial", "../../test:field_trial", "../../test:test_support", - "//system_wrappers:field_trial", "//testing/gmock", "//third_party/abseil-cpp/absl/memory", ]