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 config("audio_device_config") { | 11 config("audio_device_config") { |
12 include_dirs = [ | 12 include_dirs = [ |
13 "../interface", | 13 "../interface", |
14 "include", | 14 "include", |
15 "dummy", # Contains dummy audio device implementations. | 15 "dummy", # Contains dummy audio device implementations. |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 source_set("audio_device") { | 19 source_set("audio_device") { |
20 sources = [ | 20 sources = [ |
21 "audio_device_buffer.cc", | 21 "audio_device_buffer.cc", |
22 "audio_device_buffer.h", | 22 "audio_device_buffer.h", |
23 "audio_device_config.h", | 23 "audio_device_config.h", |
24 "audio_device_generic.cc", | 24 "audio_device_generic.cc", |
25 "audio_device_generic.h", | 25 "audio_device_generic.h", |
26 "dummy/audio_device_dummy.cc", | 26 "dummy/audio_device_dummy.cc", |
27 "dummy/audio_device_dummy.h", | 27 "dummy/audio_device_dummy.h", |
28 "dummy/file_audio_device.cc", | 28 "dummy/file_audio_device.cc", |
29 "dummy/file_audio_device.h", | 29 "dummy/file_audio_device.h", |
| 30 "fine_audio_buffer.cc", |
| 31 "fine_audio_buffer.h", |
30 "include/audio_device.h", | 32 "include/audio_device.h", |
31 "include/audio_device_defines.h", | 33 "include/audio_device_defines.h", |
32 ] | 34 ] |
33 | 35 |
34 include_dirs = [] | 36 include_dirs = [] |
35 if (is_linux) { | 37 if (is_linux) { |
36 include_dirs += [ "linux" ] | 38 include_dirs += [ "linux" ] |
37 } | 39 } |
38 if (is_ios) { | 40 if (is_ios) { |
39 include_dirs += [ "ios" ] | 41 include_dirs += [ "ios" ] |
(...skipping 10 matching lines...) Expand all Loading... |
50 if (rtc_include_internal_audio_device) { | 52 if (rtc_include_internal_audio_device) { |
51 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] | 53 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] |
52 sources += [ | 54 sources += [ |
53 "android/audio_device_template.h", | 55 "android/audio_device_template.h", |
54 "android/audio_manager.cc", | 56 "android/audio_manager.cc", |
55 "android/audio_manager.h", | 57 "android/audio_manager.h", |
56 "android/audio_record_jni.cc", | 58 "android/audio_record_jni.cc", |
57 "android/audio_record_jni.h", | 59 "android/audio_record_jni.h", |
58 "android/audio_track_jni.cc", | 60 "android/audio_track_jni.cc", |
59 "android/audio_track_jni.h", | 61 "android/audio_track_jni.h", |
60 "android/fine_audio_buffer.cc", | |
61 "android/fine_audio_buffer.h", | |
62 "android/opensles_common.cc", | 62 "android/opensles_common.cc", |
63 "android/opensles_common.h", | 63 "android/opensles_common.h", |
64 "android/opensles_player.cc", | 64 "android/opensles_player.cc", |
65 "android/opensles_player.h", | 65 "android/opensles_player.h", |
66 "audio_device_impl.cc", | 66 "audio_device_impl.cc", |
67 "audio_device_impl.h", | 67 "audio_device_impl.h", |
68 "ios/audio_device_ios.h", | 68 "ios/audio_device_ios.h", |
69 "ios/audio_device_ios.mm", | 69 "ios/audio_device_ios.mm", |
70 "linux/alsasymboltable_linux.cc", | 70 "linux/alsasymboltable_linux.cc", |
71 "linux/alsasymboltable_linux.h", | 71 "linux/alsasymboltable_linux.h", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 159 } |
160 | 160 |
161 deps = [ | 161 deps = [ |
162 "../..:webrtc_common", | 162 "../..:webrtc_common", |
163 "../../base:rtc_base_approved", | 163 "../../base:rtc_base_approved", |
164 "../../common_audio", | 164 "../../common_audio", |
165 "../../system_wrappers", | 165 "../../system_wrappers", |
166 "../utility", | 166 "../utility", |
167 ] | 167 ] |
168 } | 168 } |
OLD | NEW |