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

Side by Side Diff: webrtc/modules/audio_device/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/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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 267
268 if (rtc_include_tests) { 268 if (rtc_include_tests) {
269 rtc_source_set("audio_device_unittests") { 269 rtc_source_set("audio_device_unittests") {
270 testonly = true 270 testonly = true
271 271
272 # Skip restricting visibility on mobile platforms since the tests on those 272 # Skip restricting visibility on mobile platforms since the tests on those
273 # gets additional generated targets which would require many lines here to 273 # gets additional generated targets which would require many lines here to
274 # cover (which would be confusing to read and hard to maintain). 274 # cover (which would be confusing to read and hard to maintain).
275 if (!is_android && !is_ios) { 275 if (!is_android && !is_ios) {
276 visibility = [ "//webrtc/modules:modules_unittests" ] 276 visibility = [ "..:modules_unittests" ]
277 } 277 }
278 sources = [ 278 sources = [
279 "fine_audio_buffer_unittest.cc", 279 "fine_audio_buffer_unittest.cc",
280 ] 280 ]
281 deps = [ 281 deps = [
282 ":audio_device", 282 ":audio_device",
283 ":mock_audio_device", 283 ":mock_audio_device",
284 "../../base:rtc_base_approved", 284 "../../base:rtc_base_approved",
285 "../../system_wrappers:system_wrappers", 285 "../../system_wrappers:system_wrappers",
286 "../../test:test_support", 286 "../../test:test_support",
(...skipping 10 matching lines...) Expand all
297 # error: type qualifiers ignored on function return type 297 # error: type qualifiers ignored on function return type
298 cflags = [ "-Wno-ignored-qualifiers" ] 298 cflags = [ "-Wno-ignored-qualifiers" ]
299 sources += [ 299 sources += [
300 "android/audio_device_unittest.cc", 300 "android/audio_device_unittest.cc",
301 "android/audio_manager_unittest.cc", 301 "android/audio_manager_unittest.cc",
302 "android/ensure_initialized.cc", 302 "android/ensure_initialized.cc",
303 "android/ensure_initialized.h", 303 "android/ensure_initialized.h",
304 ] 304 ]
305 deps += [ 305 deps += [
306 "../../../base", 306 "../../../base",
307 "//webrtc/sdk/android:libjingle_peerconnection_java", 307 "../../sdk/android:libjingle_peerconnection_java",
308 ] 308 ]
309 } 309 }
310 if (is_ios && !use_ios_simulator) { 310 if (is_ios && !use_ios_simulator) {
311 # TODO(kthelgason): Reenable these tests on simulator. 311 # TODO(kthelgason): Reenable these tests on simulator.
312 # See bugs.webrtc.org/7812 312 # See bugs.webrtc.org/7812
313 sources += [ "ios/audio_device_unittest_ios.mm" ] 313 sources += [ "ios/audio_device_unittest_ios.mm" ]
314 deps += [ "//third_party/ocmock" ] 314 deps += [ "//third_party/ocmock" ]
315 } 315 }
316 if (!build_with_chromium && is_clang) { 316 if (!build_with_chromium && is_clang) {
317 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 317 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
(...skipping 30 matching lines...) Expand all
348 android_library("audio_device_java") { 348 android_library("audio_device_java") {
349 java_files = [ 349 java_files = [
350 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", 350 "android/java/src/org/webrtc/voiceengine/BuildInfo.java",
351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", 351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java",
352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
356 ] 356 ]
357 deps = [ 357 deps = [
358 "//webrtc/rtc_base:base_java", 358 "../../rtc_base:base_java",
359 ] 359 ]
360 } 360 }
361 } 361 }
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