OLD | NEW |
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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 | 10 |
11 group("stats") { | 11 group("stats") { |
12 public_deps = [ | 12 public_deps = [ |
13 ":rtc_stats", | 13 ":rtc_stats", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 rtc_static_library("rtc_stats") { | 17 rtc_static_library("rtc_stats") { |
18 cflags = [] | 18 cflags = [] |
19 sources = [ | 19 sources = [ |
20 "rtcstats.cc", | 20 "rtcstats.cc", |
21 "rtcstats_objects.cc", | 21 "rtcstats_objects.cc", |
22 "rtcstatsreport.cc", | 22 "rtcstatsreport.cc", |
23 ] | 23 ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "../api:rtc_stats_api", | 26 "../api:rtc_stats_api", |
27 "../rtc_base:rtc_base_approved", | 27 "../base:rtc_base_approved", |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 rtc_source_set("rtc_stats_test_utils") { | 31 rtc_source_set("rtc_stats_test_utils") { |
32 cflags = [] | 32 cflags = [] |
33 sources = [ | 33 sources = [ |
34 "test/rtcteststats.cc", | 34 "test/rtcteststats.cc", |
35 "test/rtcteststats.h", | 35 "test/rtcteststats.h", |
36 ] | 36 ] |
37 | 37 |
(...skipping 13 matching lines...) Expand all Loading... |
51 | 51 |
52 if (!build_with_chromium && is_clang) { | 52 if (!build_with_chromium && is_clang) { |
53 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 53 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
55 } | 55 } |
56 | 56 |
57 deps = [ | 57 deps = [ |
58 ":rtc_stats", | 58 ":rtc_stats", |
59 ":rtc_stats_test_utils", | 59 ":rtc_stats_test_utils", |
60 "../api:rtc_stats_api", | 60 "../api:rtc_stats_api", |
61 "../rtc_base:rtc_base_approved", | 61 "../base:rtc_base_approved", |
62 "../rtc_base:rtc_base_tests_main", | 62 "../base:rtc_base_tests_main", |
63 "../rtc_base:rtc_base_tests_utils", | 63 "../base:rtc_base_tests_utils", |
64 "../system_wrappers:metrics_default", | 64 "../system_wrappers:metrics_default", |
65 "//testing/gmock", | 65 "//testing/gmock", |
66 ] | 66 ] |
67 | 67 |
68 if (is_android) { | 68 if (is_android) { |
69 deps += [ "//testing/android/native_test:native_test_native_code" ] | 69 deps += [ "//testing/android/native_test:native_test_native_code" ] |
70 } | 70 } |
71 } | 71 } |
72 } | 72 } |
OLD | NEW |