OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 | 7 |
8 # When libpulse is not directly linked, use stubs to allow for dlopening of the | 8 # When libpulse is not directly linked, use stubs to allow for dlopening of the |
9 # binary. | 9 # binary. |
10 if (!link_pulseaudio) { | 10 if (!link_pulseaudio) { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 "android/audio_record_input.h", | 178 "android/audio_record_input.h", |
179 "android/opensles_input.cc", | 179 "android/opensles_input.cc", |
180 "android/opensles_input.h", | 180 "android/opensles_input.h", |
181 "android/opensles_output.cc", | 181 "android/opensles_output.cc", |
182 "android/opensles_output.h", | 182 "android/opensles_output.h", |
183 "android/opensles_wrapper.cc", | 183 "android/opensles_wrapper.cc", |
184 ] | 184 ] |
185 deps += [ "//media/base/android:media_jni_headers" ] | 185 deps += [ "//media/base/android:media_jni_headers" ] |
186 } | 186 } |
187 | 187 |
188 if (is_openbsd) { | |
189 sources += [ | |
190 "openbsd/audio_manager_openbsd.cc", | |
191 "openbsd/audio_manager_openbsd.h", | |
192 ] | |
193 } | |
194 | |
195 if (is_linux) { | 188 if (is_linux) { |
196 sources += [ "linux/audio_manager_linux.cc" ] | 189 sources += [ "linux/audio_manager_linux.cc" ] |
197 } | 190 } |
198 | 191 |
199 if (use_alsa) { | 192 if (use_alsa) { |
200 libs += [ "asound" ] | 193 libs += [ "asound" ] |
201 sources += [ | 194 sources += [ |
202 "alsa/alsa_input.cc", | 195 "alsa/alsa_input.cc", |
203 "alsa/alsa_input.h", | 196 "alsa/alsa_input.h", |
204 "alsa/alsa_output.cc", | 197 "alsa/alsa_output.cc", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 ] | 342 ] |
350 } | 343 } |
351 | 344 |
352 if (use_alsa) { | 345 if (use_alsa) { |
353 sources += [ | 346 sources += [ |
354 "alsa/alsa_output_unittest.cc", | 347 "alsa/alsa_output_unittest.cc", |
355 "audio_low_latency_input_output_unittest.cc", | 348 "audio_low_latency_input_output_unittest.cc", |
356 ] | 349 ] |
357 } | 350 } |
358 } | 351 } |
OLD | NEW |