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

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

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Disable Win compile warning Created 3 years, 8 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "../pacing", 57 "../pacing",
58 "../remote_bitrate_estimator", 58 "../remote_bitrate_estimator",
59 "../rtp_rtcp", 59 "../rtp_rtcp",
60 "../utility", 60 "../utility",
61 ] 61 ]
62 } 62 }
63 63
64 if (rtc_include_tests) { 64 if (rtc_include_tests) {
65 rtc_source_set("congestion_controller_unittests") { 65 rtc_source_set("congestion_controller_unittests") {
66 testonly = true 66 testonly = true
67 if (!is_android && !is_ios) { # Generated targets makes this check break.
68 visibility = [ "//webrtc/modules:modules_unittests" ]
69 }
67 sources = [ 70 sources = [
68 "congestion_controller_unittest.cc", 71 "congestion_controller_unittest.cc",
69 "congestion_controller_unittests_helper.cc", 72 "congestion_controller_unittests_helper.cc",
70 "congestion_controller_unittests_helper.h", 73 "congestion_controller_unittests_helper.h",
71 "delay_based_bwe_unittest.cc", 74 "delay_based_bwe_unittest.cc",
72 "delay_based_bwe_unittest_helper.cc", 75 "delay_based_bwe_unittest_helper.cc",
73 "delay_based_bwe_unittest_helper.h", 76 "delay_based_bwe_unittest_helper.h",
74 "median_slope_estimator_unittest.cc", 77 "median_slope_estimator_unittest.cc",
75 "probe_bitrate_estimator_unittest.cc", 78 "probe_bitrate_estimator_unittest.cc",
76 "probe_controller_unittest.cc", 79 "probe_controller_unittest.cc",
77 "probing_interval_estimator_unittest.cc", 80 "probing_interval_estimator_unittest.cc",
78 "transport_feedback_adapter_unittest.cc", 81 "transport_feedback_adapter_unittest.cc",
79 "trendline_estimator_unittest.cc", 82 "trendline_estimator_unittest.cc",
80 ] 83 ]
81 deps = [ 84 deps = [
82 ":congestion_controller", 85 ":congestion_controller",
83 "../../base:rtc_base_approved", 86 "../../base:rtc_base_approved",
84 "../../system_wrappers:system_wrappers", 87 "../../system_wrappers:system_wrappers",
85 "../../test:field_trial", 88 "../../test:field_trial",
86 "../../test:test_support", 89 "../../test:test_support",
87 "../bitrate_controller:bitrate_controller", 90 "../bitrate_controller:bitrate_controller",
88 "../pacing:pacing", 91 "../pacing:pacing",
92 "../remote_bitrate_estimator:mock_remote_bitrate_observer",
89 "../remote_bitrate_estimator:remote_bitrate_estimator", 93 "../remote_bitrate_estimator:remote_bitrate_estimator",
90 "../remote_bitrate_estimator:remote_bitrate_estimator_unittests",
91 "../rtp_rtcp:rtp_rtcp", 94 "../rtp_rtcp:rtp_rtcp",
92 "//testing/gmock", 95 "//testing/gmock",
93 ] 96 ]
94 if (!build_with_chromium && is_clang) { 97 if (!build_with_chromium && is_clang) {
95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
97 } 100 }
98 } 101 }
99 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698