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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 | 6 |
7 # When libpulse is not directly linked, use stubs to allow for dlopening of the | 7 # When libpulse is not directly linked, use stubs to allow for dlopening of the |
8 # binary. | 8 # binary. |
9 if (!linux_link_pulseaudio) { | 9 if (!linux_link_pulseaudio) { |
10 action("pulse_generate_stubs") { | 10 action("pulse_generate_stubs") { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 "fake_audio_output_stream.cc", | 81 "fake_audio_output_stream.cc", |
82 "fake_audio_output_stream.h", | 82 "fake_audio_output_stream.h", |
83 "null_audio_sink.cc", | 83 "null_audio_sink.cc", |
84 "null_audio_sink.h", | 84 "null_audio_sink.h", |
85 "sample_rates.cc", | 85 "sample_rates.cc", |
86 "sample_rates.h", | 86 "sample_rates.h", |
87 "scoped_task_runner_observer.cc", | 87 "scoped_task_runner_observer.cc", |
88 "scoped_task_runner_observer.h", | 88 "scoped_task_runner_observer.h", |
89 "simple_sources.cc", | 89 "simple_sources.cc", |
90 "simple_sources.h", | 90 "simple_sources.h", |
| 91 "sounds/audio_stream_handler.cc", |
| 92 "sounds/audio_stream_handler.h", |
| 93 "sounds/sounds_manager.cc", |
| 94 "sounds/sounds_manager.h", |
| 95 "sounds/wav_audio_handler.cc", |
| 96 "sounds/wav_audio_handler.h", |
91 "virtual_audio_input_stream.cc", | 97 "virtual_audio_input_stream.cc", |
92 "virtual_audio_input_stream.h", | 98 "virtual_audio_input_stream.h", |
93 "virtual_audio_output_stream.cc", | 99 "virtual_audio_output_stream.cc", |
94 "virtual_audio_output_stream.h", | 100 "virtual_audio_output_stream.h", |
95 ] | 101 ] |
96 deps = [] | 102 deps = [] |
97 libs = [] | 103 libs = [] |
98 configs += [ "//media:media_config" ] | 104 configs += [ "//media:media_config" ] |
99 | 105 |
100 if (is_chromeos) { | |
101 sources += [ | |
102 "sounds/audio_stream_handler.cc", | |
103 "sounds/audio_stream_handler.h", | |
104 "sounds/sounds_manager.cc", | |
105 "sounds/sounds_manager.h", | |
106 "sounds/wav_audio_handler.cc", | |
107 "sounds/wav_audio_handler.h", | |
108 ] | |
109 } | |
110 | |
111 if (is_mac) { | 106 if (is_mac) { |
112 sources += [ | 107 sources += [ |
113 "mac/audio_auhal_mac.cc", | 108 "mac/audio_auhal_mac.cc", |
114 "mac/audio_auhal_mac.h", | 109 "mac/audio_auhal_mac.h", |
115 "mac/audio_device_listener_mac.cc", | 110 "mac/audio_device_listener_mac.cc", |
116 "mac/audio_device_listener_mac.h", | 111 "mac/audio_device_listener_mac.h", |
117 "mac/audio_input_mac.cc", | 112 "mac/audio_input_mac.cc", |
118 "mac/audio_input_mac.h", | 113 "mac/audio_input_mac.h", |
119 "mac/audio_low_latency_input_mac.cc", | 114 "mac/audio_low_latency_input_mac.cc", |
120 "mac/audio_low_latency_input_mac.h", | 115 "mac/audio_low_latency_input_mac.h", |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 "win/core_audio_util_win_unittest.cc", | 317 "win/core_audio_util_win_unittest.cc", |
323 ] | 318 ] |
324 } | 319 } |
325 | 320 |
326 if (use_alsa) { | 321 if (use_alsa) { |
327 sources += [ | 322 sources += [ |
328 "alsa/alsa_output_unittest.cc", | 323 "alsa/alsa_output_unittest.cc", |
329 ] | 324 ] |
330 } | 325 } |
331 } | 326 } |
OLD | NEW |