Remove the public_deps to fileutils from test_support.

Bug: webrtc:8946
Change-Id: Ia01d8bb1b42485e29f26792b9266228743d7fd90
No-Presubmit: true
Reviewed-on: https://webrtc-review.googlesource.com/62100
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22465}
This commit is contained in:
Patrik Höglund
2018-03-15 15:05:39 +01:00
committed by Commit Bot
parent 4de9eb22ab
commit 7696bef463
21 changed files with 59 additions and 14 deletions

View File

@ -179,6 +179,7 @@ if (rtc_include_tests) {
"../common_audio", "../common_audio",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../system_wrappers", "../system_wrappers",
"../test:fileutils",
"../test:test_common", "../test:test_common",
"../test:test_main", "../test:test_main",
"//testing/gtest", "//testing/gtest",
@ -230,6 +231,7 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../system_wrappers", "../system_wrappers",
"../test:field_trial", "../test:field_trial",
"../test:fileutils",
"../test:single_threaded_task_queue", "../test:single_threaded_task_queue",
"../test:test_common", "../test:test_common",
"../test:test_main", "../test:test_main",

View File

@ -326,6 +326,7 @@ if (rtc_include_tests) {
"../system_wrappers:runtime_enabled_features_default", "../system_wrappers:runtime_enabled_features_default",
"../test:direct_transport", "../test:direct_transport",
"../test:field_trial", "../test:field_trial",
"../test:fileutils",
"../test:perf_test", "../test:perf_test",
"../test:test_common", "../test:test_common",
"../test:test_support", "../test:test_support",

View File

@ -456,6 +456,7 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../system_wrappers:cpu_features_api", "../system_wrappers:cpu_features_api",
"../test:fileutils",
"../test:test_main", "../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -115,6 +115,7 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"../test:fileutils",
"../test:test_main", "../test:test_main",
"../test:video_test_common", "../test:video_test_common",
"//testing/gtest", "//testing/gtest",

View File

@ -316,6 +316,7 @@ if (rtc_enable_protobuf) {
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../test:fileutils",
"../test:test_support", "../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -1378,6 +1378,7 @@ if (rtc_include_tests) {
"../../api/audio_codecs:builtin_audio_decoder_factory", "../../api/audio_codecs:builtin_audio_decoder_factory",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
] ]
defines = audio_coding_defines defines = audio_coding_defines
@ -1411,6 +1412,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:field_trial_api", "../../system_wrappers:field_trial_api",
"../../test:fileutils",
"../../test:perf_test", "../../test:perf_test",
"../../test:test_support", "../../test:test_support",
] ]
@ -1485,6 +1487,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:system_wrappers_default", "../../system_wrappers:system_wrappers_default",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../rtp_rtcp", "../rtp_rtcp",
"//testing/gtest", "//testing/gtest",
@ -1516,6 +1519,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:system_wrappers_default", "../../system_wrappers:system_wrappers_default",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../rtp_rtcp", "../rtp_rtcp",
"//testing/gtest", "//testing/gtest",
@ -1546,7 +1550,9 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
} }
deps = [] deps = [
"../../test:fileutils",
]
defines = neteq_defines defines = neteq_defines
@ -1591,6 +1597,7 @@ if (rtc_include_tests) {
"..:module_api", "..:module_api",
"../..:typedefs", "../..:typedefs",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../test:fileutils",
] ]
sources = [ sources = [
"neteq/tools/neteq_rtpplay.cc", "neteq/tools/neteq_rtpplay.cc",
@ -1640,6 +1647,7 @@ if (rtc_include_tests) {
defines = [] defines = []
deps = [ deps = [
"../..:typedefs", "../..:typedefs",
"../../test:fileutils",
] ]
sources = [ sources = [
"codecs/isac/fix/test/isac_speed_test.cc", "codecs/isac/fix/test/isac_speed_test.cc",
@ -1705,6 +1713,7 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]
@ -1731,6 +1740,7 @@ if (rtc_include_tests) {
"../../api/audio_codecs:builtin_audio_decoder_factory", "../../api/audio_codecs:builtin_audio_decoder_factory",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]
@ -1848,6 +1858,7 @@ if (rtc_include_tests) {
"../..:webrtc_common", "../..:webrtc_common",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers:system_wrappers_default", "../../system_wrappers:system_wrappers_default",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
] ]
} }
@ -1868,6 +1879,7 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers:system_wrappers_default", "../../system_wrappers:system_wrappers_default",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]
@ -1903,6 +1915,7 @@ if (rtc_include_tests) {
":neteq_quality_test_support", ":neteq_quality_test_support",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]
@ -1921,6 +1934,7 @@ if (rtc_include_tests) {
":pcm16b", ":pcm16b",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]
@ -2082,6 +2096,7 @@ if (rtc_include_tests) {
":webrtc_opus", ":webrtc_opus",
"../../common_audio", "../../common_audio",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]
@ -2220,6 +2235,7 @@ if (rtc_include_tests) {
"../../system_wrappers:cpu_features_api", "../../system_wrappers:cpu_features_api",
"../../test:audio_codec_mocks", "../../test:audio_codec_mocks",
"../../test:field_trial", "../../test:field_trial",
"../../test:fileutils",
"../../test:rtp_test_utils", "../../test:rtp_test_utils",
"../../test:test_common", "../../test:test_common",
"../../test:test_support", "../../test:test_support",

View File

@ -400,6 +400,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../sdk:audio_objc", "../../sdk:audio_objc",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//third_party/ocmock", "//third_party/ocmock",
] ]
@ -428,6 +429,7 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../utility:utility", "../utility:utility",
] ]

View File

@ -541,6 +541,7 @@ if (rtc_include_tests) {
"../../rtc_base:safe_minmax", "../../rtc_base:safe_minmax",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:cpu_features_api", "../../system_wrappers:cpu_features_api",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../audio_coding:neteq_input_audio_tools", "../audio_coding:neteq_input_audio_tools",
"aec_dump:mock_aec_dump_unittests", "aec_dump:mock_aec_dump_unittests",
@ -650,6 +651,7 @@ if (rtc_include_tests) {
":audio_processing", ":audio_processing",
":file_audio_generator", ":file_audio_generator",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
] ]
} }
@ -743,6 +745,7 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../audio_coding:neteq_input_audio_tools", "../audio_coding:neteq_input_audio_tools",
"//testing/gtest", "//testing/gtest",
@ -765,6 +768,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:metrics_default", "../../system_wrappers:metrics_default",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -84,6 +84,7 @@ if (rtc_enable_protobuf) {
"..:audioproc_debug_proto", "..:audioproc_debug_proto",
"../../../modules:module_api", "../../../modules:module_api",
"../../../rtc_base:rtc_task_queue", "../../../rtc_base:rtc_task_queue",
"../../../test:fileutils",
"../../../test:test_support", "../../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -23,6 +23,7 @@ rtc_executable("conversational_speech_generator") {
deps = [ deps = [
":lib", ":lib",
"../../../../rtc_base:rtc_base_approved", "../../../../rtc_base:rtc_base_approved",
"../../../../test:fileutils",
"../../../../test:test_support", "../../../../test:test_support",
] ]
} }
@ -71,6 +72,7 @@ rtc_source_set("unittest") {
"../../../../api:optional", "../../../../api:optional",
"../../../../common_audio", "../../../../common_audio",
"../../../../rtc_base:rtc_base_approved", "../../../../rtc_base:rtc_base_approved",
"../../../../test:fileutils",
"../../../../test:test_support", "../../../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -62,6 +62,7 @@ if (rtc_include_tests) {
":vad", ":vad",
"../..:module_api", "../..:module_api",
"../../../common_audio", "../../../common_audio",
"../../../test:fileutils",
"../../../test:test_support", "../../../test:test_support",
"//testing/gmock", "//testing/gmock",
"//testing/gtest", "//testing/gtest",

View File

@ -147,6 +147,7 @@ if (rtc_include_tests) {
"../../rtc_base/system:fallthrough", "../../rtc_base/system:fallthrough",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:field_trial_api", "../../system_wrappers:field_trial_api",
"../../test:fileutils",
"../../test:perf_test", "../../test:perf_test",
"../../test:test_support", "../../test:test_support",
"../bitrate_controller", "../bitrate_controller",
@ -173,6 +174,7 @@ if (rtc_include_tests) {
":remote_bitrate_estimator", ":remote_bitrate_estimator",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:field_trial", "../../test:field_trial",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
] ]
if (!build_with_chromium && is_clang) { if (!build_with_chromium && is_clang) {
@ -210,6 +212,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../system_wrappers", "../../system_wrappers",
"../../test:field_trial", "../../test:field_trial",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../pacing:pacing", "../pacing:pacing",
"../rtp_rtcp:rtp_rtcp_format", "../rtp_rtcp:rtp_rtcp_format",
@ -237,6 +240,7 @@ if (rtc_include_tests) {
":remote_bitrate_estimator", ":remote_bitrate_estimator",
"../..:webrtc_common", "../..:webrtc_common",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -302,6 +302,7 @@ if (rtc_include_tests) {
deps = [ deps = [
":rtp_rtcp", ":rtp_rtcp",
"../../test:fileutils",
"../../test:test_main", "../../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]
@ -317,6 +318,7 @@ if (rtc_include_tests) {
":rtp_rtcp", ":rtp_rtcp",
":rtp_rtcp_format", ":rtp_rtcp_format",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
] ]
} }

View File

@ -590,6 +590,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_task_queue", "../../rtc_base:rtc_task_queue",
"../../rtc_base:sequenced_task_checker", "../../rtc_base:sequenced_task_checker",
"../../system_wrappers", "../../system_wrappers",
"../../test:fileutils",
"../../test:test_common", "../../test:test_common",
"../../test:test_support", "../../test:test_support",
"../../test:video_test_common", "../../test:video_test_common",
@ -660,6 +661,7 @@ if (rtc_include_tests) {
"../../rtc_base:rtc_base_tests_utils", "../../rtc_base:rtc_base_tests_utils",
"../../system_wrappers", "../../system_wrappers",
"../../test:field_trial", "../../test:field_trial",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../../test:video_test_common", "../../test:video_test_common",
"../../test:video_test_support", "../../test:video_test_support",
@ -769,6 +771,7 @@ if (rtc_include_tests) {
"../../system_wrappers:metrics_api", "../../system_wrappers:metrics_api",
"../../system_wrappers:metrics_default", "../../system_wrappers:metrics_default",
"../../test:field_trial", "../../test:field_trial",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../../test:video_test_common", "../../test:video_test_common",
"../../test:video_test_support", "../../test:video_test_support",

View File

@ -112,6 +112,7 @@ if (rtc_include_tests) {
deps = [ deps = [
":video_processing", ":video_processing",
"../../common_video:common_video", "../../common_video:common_video",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"../../test:video_test_common", "../../test:video_test_common",
] ]

View File

@ -479,6 +479,7 @@ if (rtc_include_tests) {
"../api:mock_rtp", "../api:mock_rtp",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"../test:fileutils",
] ]
if (is_android) { if (is_android) {
deps += [ ":android_black_magic" ] deps += [ ":android_black_magic" ]

View File

@ -926,6 +926,7 @@ if (rtc_include_tests) {
":rtc_base_tests_utils", ":rtc_base_tests_utils",
"../system_wrappers:field_trial_default", "../system_wrappers:field_trial_default",
"../test:field_trial", "../test:field_trial",
"../test:fileutils",
"../test:test_support", "../test:test_support",
] ]
@ -952,6 +953,7 @@ if (rtc_include_tests) {
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"../test:fileutils",
"../test:test_support", "../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]
@ -1020,6 +1022,7 @@ if (rtc_include_tests) {
":stringutils", ":stringutils",
"../api:array_view", "../api:array_view",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"../test:fileutils",
"../test:test_support", "../test:test_support",
] ]
} }
@ -1146,6 +1149,7 @@ if (rtc_include_tests) {
":stringutils", ":stringutils",
"../api:array_view", "../api:array_view",
"../api:optional", "../api:optional",
"../test:fileutils",
"../test:test_support", "../test:test_support",
] ]
public_deps = [ public_deps = [

View File

@ -272,6 +272,7 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../system_wrappers:field_trial_default", "../system_wrappers:field_trial_default",
"../test:field_trial", "../test:field_trial",
"../test:fileutils",
"../test:test_support", "../test:test_support",
] ]
} }
@ -344,6 +345,7 @@ if (rtc_include_tests) {
"../common_video:common_video", "../common_video:common_video",
"../rtc_base", "../rtc_base",
"../rtc_base:checks", "../rtc_base:checks",
"../test:fileutils",
"../test:test_main", "../test:test_main",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -81,6 +81,7 @@ if (rtc_enable_protobuf) {
deps = [ deps = [
":network_tester", ":network_tester",
"../../rtc_base:rtc_base_tests_utils", "../../rtc_base:rtc_base_tests_utils",
"../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//testing/gtest", "//testing/gtest",
] ]

View File

@ -175,9 +175,7 @@ rtc_source_set("test_support") {
"testsupport/unittest_utils.h", "testsupport/unittest_utils.h",
] ]
public_deps = [ public_deps = []
":fileutils",
]
if (is_ios) { if (is_ios) {
public_deps += [ ":test_support_objc" ] public_deps += [ ":test_support_objc" ]
} }
@ -221,6 +219,7 @@ if (rtc_include_tests) {
] ]
deps = [ deps = [
":field_trial", ":field_trial",
":fileutils",
":perf_test", ":perf_test",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../system_wrappers:field_trial_default", "../system_wrappers:field_trial_default",
@ -243,6 +242,7 @@ if (rtc_include_tests) {
] ]
deps = [ deps = [
":fileutils",
":test_support", ":test_support",
":video_test_common", ":video_test_common",
"..:webrtc_common", "..:webrtc_common",
@ -264,10 +264,6 @@ if (rtc_include_tests) {
sources += [ "testsupport/jpeg_frame_writer_ios.cc" ] sources += [ "testsupport/jpeg_frame_writer_ios.cc" ]
} }
public_deps = [
":fileutils",
]
if (!build_with_chromium && is_clang) { if (!build_with_chromium && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
@ -320,6 +316,7 @@ if (rtc_include_tests) {
rtc_test("test_support_unittests") { rtc_test("test_support_unittests") {
deps = [ deps = [
":fileutils",
":perf_test", ":perf_test",
":rtp_test_utils", ":rtp_test_utils",
"../api:video_frame_api", "../api:video_frame_api",
@ -395,12 +392,7 @@ if (is_ios) {
rtc_source_set("fileutils") { rtc_source_set("fileutils") {
testonly = true testonly = true
visibility = [ visibility = [ "*" ]
":fileutils_unittests",
":test_support_test_artifacts",
":test_support",
":video_test_support",
]
sources = [ sources = [
"testsupport/fileutils.cc", "testsupport/fileutils.cc",
"testsupport/fileutils.h", "testsupport/fileutils.h",
@ -561,6 +553,7 @@ rtc_source_set("test_common") {
deps = [ deps = [
":direct_transport", ":direct_transport",
":fileutils",
":rtp_test_utils", ":rtp_test_utils",
":test_support", ":test_support",
":video_test_common", ":video_test_common",

View File

@ -124,6 +124,7 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../system_wrappers", "../system_wrappers",
"../test:fileutils",
"../test:perf_test", "../test:perf_test",
"../test:rtp_test_utils", "../test:rtp_test_utils",
"../test:test_common", "../test:test_common",
@ -357,6 +358,7 @@ if (rtc_include_tests) {
"../system_wrappers:metrics_default", "../system_wrappers:metrics_default",
"../test:direct_transport", "../test:direct_transport",
"../test:field_trial", "../test:field_trial",
"../test:fileutils",
"../test:perf_test", "../test:perf_test",
"../test:rtp_test_utils", "../test:rtp_test_utils",
"../test:test_common", "../test:test_common",