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

Unified Diff: webrtc/base/BUILD.gn

Issue 2616393003: Periodically update channel parameters and send TargetBitrate message. (Closed)
Patch Set: Use fake clock in test 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 | « no previous file | webrtc/modules/video_coding/video_sender.cc » ('j') | webrtc/video/vie_encoder_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/BUILD.gn
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
index 26c0c2cfd143465f7b7eebd105de781031c080eb..59b4f957d021be6d1ee60a7eae3a94e4fd5f881a 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -708,13 +708,33 @@ if (rtc_include_tests) {
}
}
+ # Test utilities only depending on base_approved.
+ rtc_source_set("rtc_base_approved_tests_utils") {
+ testonly = true
+ sources = [
+ "fakeclock.cc",
+ "fakeclock.h",
+ "testbase64.h",
+ "timedelta.h",
+ ]
+ configs += [ ":rtc_base_tests_utils_warnings_config" ]
+ public_configs = [ ":rtc_base_tests_utils_exported_config" ]
+ deps = [
+ ":rtc_base_approved",
+ "../test:test_support",
+ ]
+
+ 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" ]
+ }
+ }
+
rtc_source_set("rtc_base_tests_utils") {
testonly = true
sources = [
# Also use this as a convenient dumping ground for misc files that are
# included by multiple targets below.
- "fakeclock.cc",
- "fakeclock.h",
"fakenetwork.h",
"fakesslidentity.h",
"faketaskrunner.h",
@@ -729,16 +749,15 @@ if (rtc_include_tests) {
"nattypes.h",
"sigslottester.h",
"sigslottester.h.pump",
- "testbase64.h",
"testechoserver.h",
"testutils.h",
- "timedelta.h",
"unittest_main.cc",
]
configs += [ ":rtc_base_tests_utils_warnings_config" ]
public_configs = [ ":rtc_base_tests_utils_exported_config" ]
deps = [
":rtc_base",
+ ":rtc_base_approved_tests_utils",
"../test:field_trial",
"../test:test_support",
]
« no previous file with comments | « no previous file | webrtc/modules/video_coding/video_sender.cc » ('j') | webrtc/video/vie_encoder_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698