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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ] | 119 ] |
120 libs = [ | 120 libs = [ |
121 "log", | 121 "log", |
122 "OpenSLES", | 122 "OpenSLES", |
123 ] | 123 ] |
124 } | 124 } |
125 if (rtc_use_dummy_audio_file_devices) { | 125 if (rtc_use_dummy_audio_file_devices) { |
126 defines += [ "WEBRTC_DUMMY_FILE_DEVICES" ] | 126 defines += [ "WEBRTC_DUMMY_FILE_DEVICES" ] |
127 } else { | 127 } else { |
128 if (is_linux) { | 128 if (is_linux) { |
129 sources += [ | 129 if (rtc_include_alsa) { |
130 "linux/alsasymboltable_linux.cc", | 130 sources += [ |
131 "linux/alsasymboltable_linux.h", | 131 "linux/alsasymboltable_linux.cc", |
132 "linux/audio_device_alsa_linux.cc", | 132 "linux/alsasymboltable_linux.h", |
133 "linux/audio_device_alsa_linux.h", | 133 "linux/audio_device_alsa_linux.cc", |
134 "linux/audio_mixer_manager_alsa_linux.cc", | 134 "linux/audio_device_alsa_linux.h", |
135 "linux/audio_mixer_manager_alsa_linux.h", | 135 "linux/audio_mixer_manager_alsa_linux.cc", |
136 "linux/latebindingsymboltable_linux.cc", | 136 "linux/audio_mixer_manager_alsa_linux.h", |
137 "linux/latebindingsymboltable_linux.h", | 137 "linux/latebindingsymboltable_linux.cc", |
138 ] | 138 "linux/latebindingsymboltable_linux.h", |
139 defines += [ "LINUX_ALSA" ] | 139 ] |
140 libs = [ "dl" ] | 140 defines += [ "LINUX_ALSA" ] |
141 if (use_x11) { | 141 libs = [ "dl" ] |
142 libs += [ "X11" ] | 142 if (use_x11) { |
| 143 libs += [ "X11" ] |
| 144 } |
143 } | 145 } |
144 if (rtc_include_pulse_audio) { | 146 if (rtc_include_pulse_audio) { |
145 sources += [ | 147 sources += [ |
146 "linux/audio_device_pulse_linux.cc", | 148 "linux/audio_device_pulse_linux.cc", |
147 "linux/audio_device_pulse_linux.h", | 149 "linux/audio_device_pulse_linux.h", |
148 "linux/audio_mixer_manager_pulse_linux.cc", | 150 "linux/audio_mixer_manager_pulse_linux.cc", |
149 "linux/audio_mixer_manager_pulse_linux.h", | 151 "linux/audio_mixer_manager_pulse_linux.h", |
150 "linux/pulseaudiosymboltable_linux.cc", | 152 "linux/pulseaudiosymboltable_linux.cc", |
151 "linux/pulseaudiosymboltable_linux.h", | 153 "linux/pulseaudiosymboltable_linux.h", |
152 ] | 154 ] |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", | 357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", |
356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", | 358 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", |
357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", | 359 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", |
358 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", | 360 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", |
359 ] | 361 ] |
360 deps = [ | 362 deps = [ |
361 "//webrtc/base:base_java", | 363 "//webrtc/base:base_java", |
362 ] | 364 ] |
363 } | 365 } |
364 } | 366 } |
OLD | NEW |