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

Side by Side Diff: webrtc/modules/audio_device/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/modules/audio_conference_mixer/BUILD.gn ('k') | webrtc/modules/audio_mixer/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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. 248 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
249 # legacy warning for ignoring const / volatile in signatures. 249 # legacy warning for ignoring const / volatile in signatures.
250 "/wd4373", 250 "/wd4373",
251 ] 251 ]
252 } 252 }
253 } 253 }
254 254
255 if (rtc_include_tests) { 255 if (rtc_include_tests) {
256 rtc_source_set("audio_device_unittests") { 256 rtc_source_set("audio_device_unittests") {
257 testonly = true 257 testonly = true
258
259 # Skip restricting visibility on mobile platforms since the tests on those
260 # gets additional generated targets which would require many lines here to
261 # cover (which would be confusing to read and hard to maintain).
262 if (!is_android && !is_ios) {
263 visibility = [ "//webrtc/modules:modules_unittests" ]
264 }
258 sources = [ 265 sources = [
259 "fine_audio_buffer_unittest.cc", 266 "fine_audio_buffer_unittest.cc",
260 ] 267 ]
261 deps = [ 268 deps = [
262 ":audio_device", 269 ":audio_device",
263 ":mock_audio_device", 270 ":mock_audio_device",
264 "../../base:rtc_base_approved", 271 "../../base:rtc_base_approved",
265 "../../system_wrappers:system_wrappers", 272 "../../system_wrappers:system_wrappers",
266 "../../test:test_support", 273 "../../test:test_support",
267 "../utility:utility", 274 "../utility:utility",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
347 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
348 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
350 ] 357 ]
351 deps = [ 358 deps = [
352 "//webrtc/base:base_java", 359 "//webrtc/base:base_java",
353 ] 360 ]
354 } 361 }
355 } 362 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_conference_mixer/BUILD.gn ('k') | webrtc/modules/audio_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698