Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: webrtc/modules/pacing/BUILD.gn

Issue 2974863003: Use relative paths in GN files. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/media_file/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 27 matching lines...) Expand all
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 = [ "..: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 "../../base:rtc_base_approved",
59 "../../base:rtc_base_tests_utils", 59 "../../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 }
OLDNEW
« no previous file with comments | « webrtc/modules/media_file/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698