Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: webrtc/test/BUILD.gn

Issue 2686633002: Add new target direct_transport and remove fake_network and direct_transport from test_common. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/test/direct_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/BUILD.gn
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn
index 0e885c84b4a46ba524461bb345044dc9e665b80c..a4c018524f5267199840b71bf0ca87f762e9fe1b 100644
--- a/webrtc/test/BUILD.gn
+++ b/webrtc/test/BUILD.gn
@@ -312,6 +312,25 @@ rtc_source_set("fileutils_unittests") {
]
}
+rtc_source_set("direct_transport") {
+ testonly = true
+ sources = [
+ "direct_transport.cc",
+ "direct_transport.h",
+ "fake_network_pipe.cc",
+ "fake_network_pipe.h",
+ ]
+ if (!build_with_chromium && is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+ deps = [
+ "../api:transport_api",
+ "../base:rtc_base_approved",
+ "../call",
+ ]
+}
+
rtc_source_set("test_common") {
testonly = true
sources = [
@@ -321,8 +340,6 @@ rtc_source_set("test_common") {
"configurable_frame_size_encoder.h",
"constants.cc",
"constants.h",
- "direct_transport.cc",
- "direct_transport.h",
"drifting_clock.cc",
"drifting_clock.h",
"encoder_settings.cc",
@@ -333,8 +350,6 @@ rtc_source_set("test_common") {
"fake_decoder.h",
"fake_encoder.cc",
"fake_encoder.h",
- "fake_network_pipe.cc",
- "fake_network_pipe.h",
"fake_videorenderer.h",
"layer_filtering_transport.cc",
"layer_filtering_transport.h",
@@ -361,10 +376,10 @@ rtc_source_set("test_common") {
}
deps = [
+ ":direct_transport",
":rtp_test_utils",
":test_support",
"..:webrtc_common",
- "../api:transport_api",
"../audio",
"../base:rtc_base_approved",
"../call",
« no previous file with comments | « no previous file | webrtc/test/direct_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698