| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "rtcstatscollector.cc", | 23 "rtcstatscollector.cc", |
| 24 "rtcstatscollector.h", | 24 "rtcstatscollector.h", |
| 25 "rtcstatsreport.cc", | 25 "rtcstatsreport.cc", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 if (is_clang) { | 28 if (is_clang) { |
| 29 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 29 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 30 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 30 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 deps = [ | 33 deps = [] |
| 34 "../api:libjingle_peerconnection", | |
| 35 ] | |
| 36 } | 34 } |
| 37 | |
| 38 if (rtc_include_tests) { | |
| 39 # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests | |
| 40 rtc_test("rtc_stats_unittests") { | |
| 41 testonly = true | |
| 42 sources = [ | |
| 43 "rtcstats_unittest.cc", | |
| 44 "rtcstatscollector_unittest.cc", | |
| 45 "rtcstatsreport_unittest.cc", | |
| 46 ] | |
| 47 | |
| 48 if (is_clang) { | |
| 49 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
| 50 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 51 } | |
| 52 | |
| 53 deps = [ | |
| 54 ":rtc_stats", | |
| 55 "../base:rtc_base_tests_utils", | |
| 56 "../system_wrappers:metrics_default", | |
| 57 "//testing/gmock", | |
| 58 ] | |
| 59 | |
| 60 if (is_android) { | |
| 61 deps += [ "//testing/android/native_test:native_test_native_code" ] | |
| 62 } | |
| 63 } | |
| 64 } | |
| OLD | NEW |