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