OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 |
(...skipping 10 matching lines...) Expand all Loading... |
21 ] | 21 ] |
22 | 22 |
23 if (!build_with_chromium && is_clang) { | 23 if (!build_with_chromium && is_clang) { |
24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
26 } | 26 } |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 "..:module_api", | 29 "..:module_api", |
30 "../../:webrtc_common", | 30 "../../:webrtc_common", |
31 "../../base:rtc_base_approved", | |
32 "../../logging:rtc_event_log_api", | 31 "../../logging:rtc_event_log_api", |
| 32 "../../rtc_base:rtc_base_approved", |
33 "../../system_wrappers", | 33 "../../system_wrappers", |
34 "../remote_bitrate_estimator", | 34 "../remote_bitrate_estimator", |
35 "../rtp_rtcp", | 35 "../rtp_rtcp", |
36 "../utility", | 36 "../utility", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 if (rtc_include_tests) { | 40 if (rtc_include_tests) { |
41 rtc_source_set("pacing_unittests") { | 41 rtc_source_set("pacing_unittests") { |
42 testonly = true | 42 testonly = true |
43 | 43 |
44 # Skip restricting visibility on mobile platforms since the tests on those | 44 # Skip restricting visibility on mobile platforms since the tests on those |
45 # gets additional generated targets which would require many lines here to | 45 # gets additional generated targets which would require many lines here to |
46 # cover (which would be confusing to read and hard to maintain). | 46 # cover (which would be confusing to read and hard to maintain). |
47 if (!is_android && !is_ios) { | 47 if (!is_android && !is_ios) { |
48 visibility = [ "//webrtc/modules:modules_unittests" ] | 48 visibility = [ "//webrtc/modules:modules_unittests" ] |
49 } | 49 } |
50 sources = [ | 50 sources = [ |
51 "alr_detector_unittest.cc", | 51 "alr_detector_unittest.cc", |
52 "bitrate_prober_unittest.cc", | 52 "bitrate_prober_unittest.cc", |
53 "paced_sender_unittest.cc", | 53 "paced_sender_unittest.cc", |
54 "packet_router_unittest.cc", | 54 "packet_router_unittest.cc", |
55 ] | 55 ] |
56 deps = [ | 56 deps = [ |
57 ":pacing", | 57 ":pacing", |
58 "../../base:rtc_base_approved", | 58 "../../rtc_base:rtc_base_approved", |
59 "../../base:rtc_base_tests_utils", | 59 "../../rtc_base:rtc_base_tests_utils", |
60 "../../system_wrappers:system_wrappers", | 60 "../../system_wrappers:system_wrappers", |
61 "../../test:test_support", | 61 "../../test:test_support", |
62 "../rtp_rtcp", | 62 "../rtp_rtcp", |
63 "../rtp_rtcp:mock_rtp_rtcp", | 63 "../rtp_rtcp:mock_rtp_rtcp", |
64 "//testing/gmock", | 64 "//testing/gmock", |
65 ] | 65 ] |
66 | 66 |
67 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 67 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
68 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 68 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
69 if (!build_with_chromium && is_clang) { | 69 if (!build_with_chromium && is_clang) { |
70 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 70 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
71 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 71 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
72 } | 72 } |
73 } | 73 } |
74 } | 74 } |
OLD | NEW |