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