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 |
11 config("audio_device_config") { | 16 config("audio_device_config") { |
12 include_dirs = [ | 17 include_dirs = [ |
13 "../include", | 18 "../include", |
14 "include", | 19 "include", |
15 "dummy", # Contains dummy audio device implementations. | 20 "dummy", # Contains dummy audio device implementations. |
16 ] | 21 ] |
17 if (is_ios) { | 22 if (is_ios) { |
18 # GN orders flags on a target before flags from configs. In order to be able | 23 # GN orders flags on a target before flags from configs. In order to be able |
19 # suppress the -Wthread-safety-analysis warning, it has come from a config | 24 # suppress the -Wthread-safety-analysis warning, it has come from a config |
20 # and can't be on the target directly. | 25 # and can't be on the target directly. |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 "../../system_wrappers", | 294 "../../system_wrappers", |
290 "../../test:test_main", | 295 "../../test:test_main", |
291 "../../test:test_support", | 296 "../../test:test_support", |
292 "../rtp_rtcp", | 297 "../rtp_rtcp", |
293 "../utility", | 298 "../utility", |
294 "//testing/gtest", | 299 "//testing/gtest", |
295 ] | 300 ] |
296 public_configs = [ ":audio_device_config" ] | 301 public_configs = [ ":audio_device_config" ] |
297 } | 302 } |
298 } | 303 } |
| 304 |
| 305 if (!build_with_chromium && 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 |