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

Side by Side Diff: webrtc/modules/audio_device/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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. 250 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
251 # legacy warning for ignoring const / volatile in signatures. 251 # legacy warning for ignoring const / volatile in signatures.
252 "/wd4373", 252 "/wd4373",
253 ] 253 ]
254 } 254 }
255 } 255 }
256 256
257 if (rtc_include_tests) { 257 if (rtc_include_tests) {
258 rtc_source_set("audio_device_unittests") { 258 rtc_source_set("audio_device_unittests") {
259 testonly = true 259 testonly = true
260 if (!is_android && !is_ios) { # Generated targets makes this check break.
261 visibility = [ "//webrtc/modules:modules_unittests" ]
262 }
260 sources = [ 263 sources = [
261 "fine_audio_buffer_unittest.cc", 264 "fine_audio_buffer_unittest.cc",
262 ] 265 ]
263 deps = [ 266 deps = [
264 ":audio_device", 267 ":audio_device",
265 ":mock_audio_device", 268 ":mock_audio_device",
266 "../../base:rtc_base_approved", 269 "../../base:rtc_base_approved",
267 "../../system_wrappers:system_wrappers", 270 "../../system_wrappers:system_wrappers",
268 "../../test:test_support", 271 "../../test:test_support",
269 "../utility:utility", 272 "../utility:utility",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
350 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
352 ] 355 ]
353 deps = [ 356 deps = [
354 "//webrtc/base:base_java", 357 "//webrtc/base:base_java",
355 ] 358 ]
356 } 359 }
357 } 360 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698