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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 if (rtc_include_tests) { | 45 if (rtc_include_tests) { |
46 rtc_test("rtc_stats_unittests") { | 46 rtc_test("rtc_stats_unittests") { |
47 testonly = true | 47 testonly = true |
48 sources = [ | 48 sources = [ |
49 "rtcstats_unittest.cc", | 49 "rtcstats_unittest.cc", |
50 "rtcstatsreport_unittest.cc", | 50 "rtcstatsreport_unittest.cc", |
51 ] | 51 ] |
52 | 52 |
53 if (is_clang) { | 53 if (!build_with_chromium && is_clang) { |
54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
56 } | 56 } |
57 | 57 |
58 deps = [ | 58 deps = [ |
59 ":rtc_stats", | 59 ":rtc_stats", |
60 ":rtc_stats_test_utils", | 60 ":rtc_stats_test_utils", |
61 "../base:rtc_base_tests_utils", | 61 "../base:rtc_base_tests_utils", |
62 "../system_wrappers:metrics_default", | 62 "../system_wrappers:metrics_default", |
63 "//testing/gmock", | 63 "//testing/gmock", |
64 ] | 64 ] |
65 | 65 |
66 if (is_android) { | 66 if (is_android) { |
67 deps += [ "//testing/android/native_test:native_test_native_code" ] | 67 deps += [ "//testing/android/native_test:native_test_native_code" ] |
68 } | 68 } |
69 } | 69 } |
70 } | 70 } |
OLD | NEW |