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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "audio_output_resampler.h", | 97 "audio_output_resampler.h", |
98 "audio_output_stream_sink.cc", | 98 "audio_output_stream_sink.cc", |
99 "audio_output_stream_sink.h", | 99 "audio_output_stream_sink.h", |
100 "audio_power_monitor.cc", | 100 "audio_power_monitor.cc", |
101 "audio_power_monitor.h", | 101 "audio_power_monitor.h", |
102 "audio_source_diverter.h", | 102 "audio_source_diverter.h", |
103 "audio_system.cc", | 103 "audio_system.cc", |
104 "audio_system.h", | 104 "audio_system.h", |
105 "audio_system_impl.cc", | 105 "audio_system_impl.cc", |
106 "audio_system_impl.h", | 106 "audio_system_impl.h", |
| 107 "audio_thread.h", |
| 108 "audio_thread_impl.cc", |
| 109 "audio_thread_impl.h", |
107 "clockless_audio_sink.cc", | 110 "clockless_audio_sink.cc", |
108 "clockless_audio_sink.h", | 111 "clockless_audio_sink.h", |
109 "fake_audio_input_stream.cc", | 112 "fake_audio_input_stream.cc", |
110 "fake_audio_input_stream.h", | 113 "fake_audio_input_stream.h", |
111 "fake_audio_log_factory.cc", | 114 "fake_audio_log_factory.cc", |
112 "fake_audio_log_factory.h", | 115 "fake_audio_log_factory.h", |
113 "fake_audio_manager.cc", | 116 "fake_audio_manager.cc", |
114 "fake_audio_manager.h", | 117 "fake_audio_manager.h", |
115 "fake_audio_output_stream.cc", | 118 "fake_audio_output_stream.cc", |
116 "fake_audio_output_stream.h", | 119 "fake_audio_output_stream.h", |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 testonly = true | 293 testonly = true |
291 sources = [ | 294 sources = [ |
292 "audio_unittest_util.cc", | 295 "audio_unittest_util.cc", |
293 "audio_unittest_util.h", | 296 "audio_unittest_util.h", |
294 "mock_audio_manager.cc", | 297 "mock_audio_manager.cc", |
295 "mock_audio_manager.h", | 298 "mock_audio_manager.h", |
296 "mock_audio_source_callback.cc", | 299 "mock_audio_source_callback.cc", |
297 "mock_audio_source_callback.h", | 300 "mock_audio_source_callback.h", |
298 "test_audio_input_controller_factory.cc", | 301 "test_audio_input_controller_factory.cc", |
299 "test_audio_input_controller_factory.h", | 302 "test_audio_input_controller_factory.h", |
| 303 "test_audio_thread.cc", |
| 304 "test_audio_thread.h", |
300 ] | 305 ] |
301 configs += [ ":platform_config" ] | 306 configs += [ |
| 307 ":platform_config", |
| 308 "//media:media_config", |
| 309 ] |
302 deps = [ | 310 deps = [ |
303 "//base", | 311 "//base", |
304 "//media", | 312 "//media", |
305 "//testing/gmock", | 313 "//testing/gmock", |
306 "//testing/gtest", | 314 "//testing/gtest", |
307 ] | 315 ] |
308 configs += [ "//media:media_config" ] | |
309 } | 316 } |
310 | 317 |
311 source_set("unit_tests") { | 318 source_set("unit_tests") { |
312 testonly = true | 319 testonly = true |
313 sources = [ | 320 sources = [ |
314 "audio_debug_file_writer_unittest.cc", | 321 "audio_debug_file_writer_unittest.cc", |
315 "audio_debug_recording_helper_unittest.cc", | 322 "audio_debug_recording_helper_unittest.cc", |
316 "audio_debug_recording_manager_unittest.cc", | 323 "audio_debug_recording_manager_unittest.cc", |
317 "audio_input_controller_unittest.cc", | 324 "audio_input_controller_unittest.cc", |
318 "audio_input_device_unittest.cc", | 325 "audio_input_device_unittest.cc", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 ] | 396 ] |
390 } | 397 } |
391 | 398 |
392 if (use_alsa) { | 399 if (use_alsa) { |
393 sources += [ | 400 sources += [ |
394 "alsa/alsa_output_unittest.cc", | 401 "alsa/alsa_output_unittest.cc", |
395 "audio_low_latency_input_output_unittest.cc", | 402 "audio_low_latency_input_output_unittest.cc", |
396 ] | 403 ] |
397 } | 404 } |
398 } | 405 } |
OLD | NEW |