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

Unified Diff: webrtc/modules/remote_bitrate_estimator/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/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/BUILD.gn
diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
index 7ddb0bb1e89ff122d88294baef86433029debb2a..81028f6b634de4430b8a5b04c7e215f2a8dd421f 100644
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
@@ -141,4 +141,48 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+ rtc_source_set("remote_bitrate_estimator_unittests") {
+ testonly = true
+ sources = [
+ "aimd_rate_control_unittest.cc",
+ "include/mock/mock_remote_bitrate_estimator.h",
+ "include/mock/mock_remote_bitrate_observer.h",
+ "inter_arrival_unittest.cc",
+ "overuse_detector_unittest.cc",
+ "remote_bitrate_estimator_abs_send_time_unittest.cc",
+ "remote_bitrate_estimator_single_stream_unittest.cc",
+ "remote_bitrate_estimator_unittest_helper.cc",
+ "remote_bitrate_estimator_unittest_helper.h",
+ "remote_estimator_proxy_unittest.cc",
+ "send_time_history_unittest.cc",
+ "test/bwe_test_framework_unittest.cc",
+ "test/bwe_unittest.cc",
+ "test/estimators/nada_unittest.cc",
+ "test/metric_recorder_unittest.cc",
+ ]
+ deps = [
+ ":bwe_simulator_lib",
+ ":remote_bitrate_estimator",
+ "../..:webrtc_common",
+ "../../base:rtc_base",
+ "../../base:rtc_base_approved",
+ "../../system_wrappers:system_wrappers",
+ "../../test:field_trial",
+ "../../test:test_support",
+ "../pacing:pacing",
+ "../rtp_rtcp:rtp_rtcp",
+ "//testing/gmock",
+ ]
+ if (is_win) {
+ cflags = [
+ # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
+ "/wd4373", # virtual function override.
+ ]
+ }
+ 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/pacing/BUILD.gn ('k') | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698