OLD | NEW |
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("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
11 if (is_android) { | |
12 import("//build/config/android/config.gni") | |
13 import("//build/config/android/rules.gni") | |
14 } | |
15 | |
16 config("audio_device_config") { | 11 config("audio_device_config") { |
17 include_dirs = [ | 12 include_dirs = [ |
18 "../include", | 13 "../include", |
19 "include", | 14 "include", |
20 "dummy", # Contains dummy audio device implementations. | 15 "dummy", # Contains dummy audio device implementations. |
21 ] | 16 ] |
22 if (is_ios) { | 17 if (is_ios) { |
23 # GN orders flags on a target before flags from configs. In order to be able | 18 # GN orders flags on a target before flags from configs. In order to be able |
24 # suppress the -Wthread-safety-analysis warning, it has come from a config | 19 # suppress the -Wthread-safety-analysis warning, it has come from a config |
25 # and can't be on the target directly. | 20 # and can't be on the target directly. |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 "../../system_wrappers", | 289 "../../system_wrappers", |
295 "../../test:test_main", | 290 "../../test:test_main", |
296 "../../test:test_support", | 291 "../../test:test_support", |
297 "../rtp_rtcp", | 292 "../rtp_rtcp", |
298 "../utility", | 293 "../utility", |
299 "//testing/gtest", | 294 "//testing/gtest", |
300 ] | 295 ] |
301 public_configs = [ ":audio_device_config" ] | 296 public_configs = [ ":audio_device_config" ] |
302 } | 297 } |
303 } | 298 } |
304 | |
305 if (is_android) { | |
306 android_shared_srcjar("audio_device_java") { | |
307 sources = [ | |
308 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", | |
309 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", | |
310 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", | |
311 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", | |
312 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", | |
313 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", | |
314 ] | |
315 } | |
316 } | |
OLD | NEW |