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

Unified Diff: webrtc/stats/BUILD.gn

Issue 2354523002: RTCTestStats moved into webrtc/stats/test (rtc_stats_test_utils) (Closed)
Patch Set: Created 4 years, 3 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/stats/rtcstats_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/stats/BUILD.gn
diff --git a/webrtc/stats/BUILD.gn b/webrtc/stats/BUILD.gn
index 0f13c101e1bc76b8649e780b9fc799b63147706d..a9c9fb89090d41869fa676f481573c88ffc708d1 100644
--- a/webrtc/stats/BUILD.gn
+++ b/webrtc/stats/BUILD.gn
@@ -34,8 +34,25 @@ rtc_source_set("rtc_stats") {
]
}
+rtc_source_set("rtc_stats_test_utils") {
+ cflags = []
+ sources = [
+ "test/rtcteststats.cc",
+ "test/rtcteststats.h",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ deps = [
+ ":rtc_stats",
+ "../api:rtc_stats_api",
+ ]
+}
+
if (rtc_include_tests) {
- # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
rtc_test("rtc_stats_unittests") {
testonly = true
sources = [
@@ -50,6 +67,7 @@ if (rtc_include_tests) {
deps = [
":rtc_stats",
+ ":rtc_stats_test_utils",
"../base:rtc_base_tests_utils",
"../system_wrappers:metrics_default",
"//testing/gmock",
« no previous file with comments | « no previous file | webrtc/stats/rtcstats_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698