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("../build/webrtc.gni") | 9 import("../build/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 # GYP version: webrtc/stats/stats.gyp:rtc_stats | 17 # GYP version: webrtc/stats/stats.gyp:rtc_stats |
18 rtc_source_set("rtc_stats") { | 18 rtc_static_library("rtc_stats") { |
19 cflags = [] | 19 cflags = [] |
20 sources = [ | 20 sources = [ |
21 "rtcstats.cc", | 21 "rtcstats.cc", |
22 "rtcstats_objects.cc", | 22 "rtcstats_objects.cc", |
23 "rtcstatsreport.cc", | 23 "rtcstatsreport.cc", |
24 ] | 24 ] |
25 | 25 |
26 if (is_clang) { | 26 if (is_clang) { |
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" ] |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 "../base:rtc_base_tests_utils", | 71 "../base:rtc_base_tests_utils", |
72 "../system_wrappers:metrics_default", | 72 "../system_wrappers:metrics_default", |
73 "//testing/gmock", | 73 "//testing/gmock", |
74 ] | 74 ] |
75 | 75 |
76 if (is_android) { | 76 if (is_android) { |
77 deps += [ "//testing/android/native_test:native_test_native_code" ] | 77 deps += [ "//testing/android/native_test:native_test_native_code" ] |
78 } | 78 } |
79 } | 79 } |
80 } | 80 } |
OLD | NEW |