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", |
| 59 "audio_debug_recording_manager.cc", |
| 60 "audio_debug_recording_manager.h", |
57 "audio_device_description.cc", | 61 "audio_device_description.cc", |
58 "audio_device_description.h", | 62 "audio_device_description.h", |
59 "audio_device_name.cc", | 63 "audio_device_name.cc", |
60 "audio_device_name.h", | 64 "audio_device_name.h", |
61 "audio_device_thread.cc", | 65 "audio_device_thread.cc", |
62 "audio_device_thread.h", | 66 "audio_device_thread.h", |
63 "audio_features.cc", | 67 "audio_features.cc", |
64 "audio_features.h", | 68 "audio_features.h", |
65 "audio_file_writer.h", | 69 "audio_file_writer.h", |
66 "audio_input_controller.cc", | 70 "audio_input_controller.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
90 "audio_output_resampler.h", | 94 "audio_output_resampler.h", |
91 "audio_output_stream_sink.cc", | 95 "audio_output_stream_sink.cc", |
92 "audio_output_stream_sink.h", | 96 "audio_output_stream_sink.h", |
93 "audio_power_monitor.cc", | 97 "audio_power_monitor.cc", |
94 "audio_power_monitor.h", | 98 "audio_power_monitor.h", |
95 "audio_source_diverter.h", | 99 "audio_source_diverter.h", |
96 "audio_streams_tracker.cc", | 100 "audio_streams_tracker.cc", |
97 "audio_streams_tracker.h", | 101 "audio_streams_tracker.h", |
98 "clockless_audio_sink.cc", | 102 "clockless_audio_sink.cc", |
99 "clockless_audio_sink.h", | 103 "clockless_audio_sink.h", |
| 104 "fake_audio_file_writer.cc", |
| 105 "fake_audio_file_writer.h", |
100 "fake_audio_input_stream.cc", | 106 "fake_audio_input_stream.cc", |
101 "fake_audio_input_stream.h", | 107 "fake_audio_input_stream.h", |
102 "fake_audio_log_factory.cc", | 108 "fake_audio_log_factory.cc", |
103 "fake_audio_log_factory.h", | 109 "fake_audio_log_factory.h", |
104 "fake_audio_manager.cc", | 110 "fake_audio_manager.cc", |
105 "fake_audio_manager.h", | 111 "fake_audio_manager.h", |
106 "fake_audio_output_stream.cc", | 112 "fake_audio_output_stream.cc", |
107 "fake_audio_output_stream.h", | 113 "fake_audio_output_stream.h", |
108 "fake_audio_worker.cc", | 114 "fake_audio_worker.cc", |
109 "fake_audio_worker.h", | 115 "fake_audio_worker.h", |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 ] | 383 ] |
378 } | 384 } |
379 | 385 |
380 if (use_alsa) { | 386 if (use_alsa) { |
381 sources += [ | 387 sources += [ |
382 "alsa/alsa_output_unittest.cc", | 388 "alsa/alsa_output_unittest.cc", |
383 "audio_low_latency_input_output_unittest.cc", | 389 "audio_low_latency_input_output_unittest.cc", |
384 ] | 390 ] |
385 } | 391 } |
386 } | 392 } |
OLD | NEW |