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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Move out fec_test_helper from rtc_include_tests 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
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/audio/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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 if (is_android) { 10 if (is_android) {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 "../base:rtc_base_approved", 236 "../base:rtc_base_approved",
237 ] 237 ]
238 if (!build_with_chromium && is_clang) { 238 if (!build_with_chromium && is_clang) {
239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
241 } 241 }
242 } 242 }
243 243
244 rtc_source_set("rtc_api_unittests") { 244 rtc_source_set("rtc_api_unittests") {
245 testonly = true 245 testonly = true
246
247 # Skip restricting visibility on mobile platforms since the tests on those
248 # gets additional generated targets which would require many lines here to
249 # cover (which would be confusing to read and hard to maintain).
250 if (!is_android && !is_ios) {
251 visibility = [ "//webrtc:rtc_unittests" ]
252 }
246 sources = [ 253 sources = [
247 "ortc/mediadescription_unittest.cc", 254 "ortc/mediadescription_unittest.cc",
248 "ortc/sessiondescription_unittest.cc", 255 "ortc/sessiondescription_unittest.cc",
249 "rtcerror_unittest.cc", 256 "rtcerror_unittest.cc",
250 ] 257 ]
251 258
252 if (!build_with_chromium && is_clang) { 259 if (!build_with_chromium && is_clang) {
253 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 260 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
254 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 261 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
255 } 262 }
256 263
257 deps = [ 264 deps = [
258 ":libjingle_peerconnection_api", 265 ":libjingle_peerconnection_api",
259 ":ortc_api", 266 ":ortc_api",
260 "//webrtc/test:test_support", 267 "//webrtc/test:test_support",
261 ] 268 ]
262 } 269 }
263 } 270 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698