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

Unified Diff: webrtc/modules/congestion_controller/BUILD.gn

Issue 2629923002: GN: Refactor modules_unittests to eliminate package boundary violations. (Closed)
Patch Set: Addressing comments. Created 3 years, 11 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 | « webrtc/modules/bitrate_controller/BUILD.gn ('k') | webrtc/modules/desktop_capture/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/congestion_controller/BUILD.gn
diff --git a/webrtc/modules/congestion_controller/BUILD.gn b/webrtc/modules/congestion_controller/BUILD.gn
index 16794a16fe9307c4762767832a6e66ae17cac63b..03e0d5c93f3de5e36a495064e417cd1c8b661816 100644
--- a/webrtc/modules/congestion_controller/BUILD.gn
+++ b/webrtc/modules/congestion_controller/BUILD.gn
@@ -55,3 +55,38 @@ rtc_static_library("congestion_controller") {
"../utility",
]
}
+
+if (rtc_include_tests) {
+ rtc_source_set("congestion_controller_unittests") {
+ testonly = true
+ sources = [
+ "congestion_controller_unittest.cc",
+ "delay_based_bwe_unittest.cc",
+ "delay_based_bwe_unittest_helper.cc",
+ "delay_based_bwe_unittest_helper.h",
+ "median_slope_estimator_unittest.cc",
+ "probe_bitrate_estimator_unittest.cc",
+ "probe_controller_unittest.cc",
+ "probing_interval_estimator_unittest.cc",
+ "transport_feedback_adapter_unittest.cc",
+ "trendline_estimator_unittest.cc",
+ ]
+ deps = [
+ ":congestion_controller",
+ "../../base:rtc_base_approved",
+ "../../system_wrappers:system_wrappers",
+ "../../test:field_trial",
+ "../../test:test_support",
+ "../bitrate_controller:bitrate_controller",
+ "../pacing:pacing",
+ "../remote_bitrate_estimator:remote_bitrate_estimator",
+ "../remote_bitrate_estimator:remote_bitrate_estimator_unittests",
+ "../rtp_rtcp:rtp_rtcp",
+ "//testing/gmock",
+ ]
+ 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" ]
+ }
+ }
+}
« no previous file with comments | « webrtc/modules/bitrate_controller/BUILD.gn ('k') | webrtc/modules/desktop_capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698