Fix inconsistencies in network BUILD.gn file

Bug: webrtc:12344
Change-Id: I885d5a8aa598d6986a8551eb97debb76c20da34f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/201720
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Andrey Logvin <landrey@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32970}
This commit is contained in:
Andrey Logvin
2021-01-14 08:29:36 +00:00
committed by Commit Bot
parent db7920424c
commit b24e720907

View File

@ -92,7 +92,8 @@ rtc_library("network_emulation_unittest") {
] ]
} }
rtc_library("network_emulation_pc_unittest") { if (rtc_include_tests) {
rtc_library("network_emulation_pc_unittest") {
testonly = true testonly = true
sources = [ "network_emulation_pc_unittest.cc" ] sources = [ "network_emulation_pc_unittest.cc" ]
deps = [ deps = [
@ -117,6 +118,7 @@ rtc_library("network_emulation_pc_unittest") {
"../../rtc_base:logging", "../../rtc_base:logging",
"../../rtc_base:rtc_event", "../../rtc_base:rtc_event",
] ]
}
} }
rtc_library("cross_traffic_unittest") { rtc_library("cross_traffic_unittest") {
@ -132,12 +134,13 @@ rtc_library("cross_traffic_unittest") {
"../../rtc_base:logging", "../../rtc_base:logging",
"../../rtc_base:network_constants", "../../rtc_base:network_constants",
"../../rtc_base:rtc_event", "../../rtc_base:rtc_event",
"//test/time_controller:time_controller", "../time_controller",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ] absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
} }
rtc_library("feedback_generator") { if (rtc_include_tests) {
rtc_library("feedback_generator") {
testonly = true testonly = true
sources = [ sources = [
"feedback_generator.cc", "feedback_generator.cc",
@ -151,18 +154,18 @@ rtc_library("feedback_generator") {
"../time_controller", "../time_controller",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ] absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
} }
rtc_library("feedback_generator_unittest") { rtc_library("feedback_generator_unittest") {
testonly = true testonly = true
sources = [ "feedback_generator_unittest.cc" ] sources = [ "feedback_generator_unittest.cc" ]
deps = [ deps = [
"../:test_support", "../:test_support",
"../../api/transport:test_feedback_generator", "../../api/transport:test_feedback_generator",
] ]
} }
rtc_library("network_emulation_unittests") { rtc_library("network_emulation_unittests") {
testonly = true testonly = true
deps = [ deps = [
":cross_traffic_unittest", ":cross_traffic_unittest",
@ -170,4 +173,5 @@ rtc_library("network_emulation_unittests") {
":network_emulation_pc_unittest", ":network_emulation_pc_unittest",
":network_emulation_unittest", ":network_emulation_unittest",
] ]
}
} }