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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/stats/rtcstats_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
(...skipping 16 matching lines...) Expand all
27 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 27 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
28 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 28 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
29 } 29 }
30 30
31 deps = [ 31 deps = [
32 "../api:rtc_stats_api", 32 "../api:rtc_stats_api",
33 "../base:rtc_base_approved", 33 "../base:rtc_base_approved",
34 ] 34 ]
35 } 35 }
36 36
37 rtc_source_set("rtc_stats_test_utils") {
38 cflags = []
39 sources = [
40 "test/rtcteststats.cc",
41 "test/rtcteststats.h",
42 ]
43
44 if (is_clang) {
45 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
46 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
47 }
48
49 deps = [
50 ":rtc_stats",
51 "../api:rtc_stats_api",
52 ]
53 }
54
37 if (rtc_include_tests) { 55 if (rtc_include_tests) {
38 # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
39 rtc_test("rtc_stats_unittests") { 56 rtc_test("rtc_stats_unittests") {
40 testonly = true 57 testonly = true
41 sources = [ 58 sources = [
42 "rtcstats_unittest.cc", 59 "rtcstats_unittest.cc",
43 "rtcstatsreport_unittest.cc", 60 "rtcstatsreport_unittest.cc",
44 ] 61 ]
45 62
46 if (is_clang) { 63 if (is_clang) {
47 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 64 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
48 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 65 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
49 } 66 }
50 67
51 deps = [ 68 deps = [
52 ":rtc_stats", 69 ":rtc_stats",
70 ":rtc_stats_test_utils",
53 "../base:rtc_base_tests_utils", 71 "../base:rtc_base_tests_utils",
54 "../system_wrappers:metrics_default", 72 "../system_wrappers:metrics_default",
55 "//testing/gmock", 73 "//testing/gmock",
56 ] 74 ]
57 75
58 if (is_android) { 76 if (is_android) {
59 deps += [ "//testing/android/native_test:native_test_native_code" ] 77 deps += [ "//testing/android/native_test:native_test_native_code" ]
60 } 78 }
61 } 79 }
62 } 80 }
OLDNEW
« 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