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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 config("platform_config") { | 47 config("platform_config") { |
48 if (use_alsa) { | 48 if (use_alsa) { |
49 defines = [ "USE_ALSA" ] | 49 defines = [ "USE_ALSA" ] |
50 } | 50 } |
51 } | 51 } |
52 | 52 |
53 source_set("audio") { | 53 source_set("audio") { |
54 visibility = [ "//media/*" ] | 54 visibility = [ "//media/*" ] |
55 sources = [ | 55 sources = [ |
56 "agc_audio_stream.h", | 56 "agc_audio_stream.h", |
| 57 "audio_debug_recording_helper.cc", |
| 58 "audio_debug_recording_helper.h", |
57 "audio_device_description.cc", | 59 "audio_device_description.cc", |
58 "audio_device_description.h", | 60 "audio_device_description.h", |
59 "audio_device_name.cc", | 61 "audio_device_name.cc", |
60 "audio_device_name.h", | 62 "audio_device_name.h", |
61 "audio_device_thread.cc", | 63 "audio_device_thread.cc", |
62 "audio_device_thread.h", | 64 "audio_device_thread.h", |
63 "audio_features.cc", | 65 "audio_features.cc", |
64 "audio_features.h", | 66 "audio_features.h", |
65 "audio_file_writer.h", | 67 "audio_file_writer.h", |
66 "audio_input_controller.cc", | 68 "audio_input_controller.cc", |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 ] | 379 ] |
378 } | 380 } |
379 | 381 |
380 if (use_alsa) { | 382 if (use_alsa) { |
381 sources += [ | 383 sources += [ |
382 "alsa/alsa_output_unittest.cc", | 384 "alsa/alsa_output_unittest.cc", |
383 "audio_low_latency_input_output_unittest.cc", | 385 "audio_low_latency_input_output_unittest.cc", |
384 ] | 386 ] |
385 } | 387 } |
386 } | 388 } |
OLD | NEW |