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 "fake_audio_log_factory.cc", | 97 "fake_audio_log_factory.cc", |
98 "fake_audio_log_factory.h", | 98 "fake_audio_log_factory.h", |
99 "fake_audio_manager.cc", | 99 "fake_audio_manager.cc", |
100 "fake_audio_manager.h", | 100 "fake_audio_manager.h", |
101 "fake_audio_output_stream.cc", | 101 "fake_audio_output_stream.cc", |
102 "fake_audio_output_stream.h", | 102 "fake_audio_output_stream.h", |
103 "fake_audio_worker.cc", | 103 "fake_audio_worker.cc", |
104 "fake_audio_worker.h", | 104 "fake_audio_worker.h", |
105 "null_audio_sink.cc", | 105 "null_audio_sink.cc", |
106 "null_audio_sink.h", | 106 "null_audio_sink.h", |
| 107 "restartable_audio_output_device_impl.cc", |
| 108 "restartable_audio_output_device_impl.h", |
107 "sample_rates.cc", | 109 "sample_rates.cc", |
108 "sample_rates.h", | 110 "sample_rates.h", |
109 "scoped_task_runner_observer.cc", | 111 "scoped_task_runner_observer.cc", |
110 "scoped_task_runner_observer.h", | 112 "scoped_task_runner_observer.h", |
111 "simple_sources.cc", | 113 "simple_sources.cc", |
112 "simple_sources.h", | 114 "simple_sources.h", |
113 "sounds/audio_stream_handler.cc", | 115 "sounds/audio_stream_handler.cc", |
114 "sounds/audio_stream_handler.h", | 116 "sounds/audio_stream_handler.h", |
115 "sounds/sounds_manager.cc", | 117 "sounds/sounds_manager.cc", |
116 "sounds/sounds_manager.h", | 118 "sounds/sounds_manager.h", |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 } | 261 } |
260 } | 262 } |
261 | 263 |
262 source_set("test_support") { | 264 source_set("test_support") { |
263 testonly = true | 265 testonly = true |
264 sources = [ | 266 sources = [ |
265 "audio_unittest_util.cc", | 267 "audio_unittest_util.cc", |
266 "audio_unittest_util.h", | 268 "audio_unittest_util.h", |
267 "mock_audio_manager.cc", | 269 "mock_audio_manager.cc", |
268 "mock_audio_manager.h", | 270 "mock_audio_manager.h", |
| 271 "mock_audio_output_ipc.cc", |
| 272 "mock_audio_output_ipc.h", |
269 "mock_audio_source_callback.cc", | 273 "mock_audio_source_callback.cc", |
270 "mock_audio_source_callback.h", | 274 "mock_audio_source_callback.h", |
| 275 "mock_render_callback.cc", |
| 276 "mock_render_callback.h", |
271 "test_audio_input_controller_factory.cc", | 277 "test_audio_input_controller_factory.cc", |
272 "test_audio_input_controller_factory.h", | 278 "test_audio_input_controller_factory.h", |
273 ] | 279 ] |
274 configs += [ ":platform_config" ] | 280 configs += [ ":platform_config" ] |
275 deps = [ | 281 deps = [ |
276 "//testing/gmock", | 282 "//testing/gmock", |
277 ] | 283 ] |
278 configs += [ "//media:media_config" ] | 284 configs += [ "//media:media_config" ] |
279 } | 285 } |
280 | 286 |
281 source_set("unittests") { | 287 source_set("unittests") { |
282 testonly = true | 288 testonly = true |
283 sources = [ | 289 sources = [ |
284 "audio_input_controller_unittest.cc", | 290 "audio_input_controller_unittest.cc", |
285 "audio_input_unittest.cc", | 291 "audio_input_unittest.cc", |
286 "audio_manager_factory_unittest.cc", | 292 "audio_manager_factory_unittest.cc", |
287 "audio_manager_unittest.cc", | 293 "audio_manager_unittest.cc", |
288 "audio_output_controller_unittest.cc", | 294 "audio_output_controller_unittest.cc", |
289 "audio_output_device_unittest.cc", | 295 "audio_output_device_unittest.cc", |
290 "audio_output_proxy_unittest.cc", | 296 "audio_output_proxy_unittest.cc", |
291 "audio_parameters_unittest.cc", | 297 "audio_parameters_unittest.cc", |
292 "audio_power_monitor_unittest.cc", | 298 "audio_power_monitor_unittest.cc", |
293 "audio_streams_tracker_unittest.cc", | 299 "audio_streams_tracker_unittest.cc", |
294 "fake_audio_worker_unittest.cc", | 300 "fake_audio_worker_unittest.cc", |
295 "point_unittest.cc", | 301 "point_unittest.cc", |
| 302 "restartable_audio_output_device_impl_unittest.cc", |
296 "simple_sources_unittest.cc", | 303 "simple_sources_unittest.cc", |
297 "virtual_audio_input_stream_unittest.cc", | 304 "virtual_audio_input_stream_unittest.cc", |
298 "virtual_audio_output_stream_unittest.cc", | 305 "virtual_audio_output_stream_unittest.cc", |
299 ] | 306 ] |
300 deps = [ | 307 deps = [ |
301 ":test_support", | 308 ":test_support", |
302 "//media/base:test_support", | 309 "//media/base:test_support", |
303 "//testing/gmock", | 310 "//testing/gmock", |
304 "//testing/gtest", | 311 "//testing/gtest", |
305 "//url", | 312 "//url", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 ] | 358 ] |
352 } | 359 } |
353 | 360 |
354 if (use_alsa) { | 361 if (use_alsa) { |
355 sources += [ | 362 sources += [ |
356 "alsa/alsa_output_unittest.cc", | 363 "alsa/alsa_output_unittest.cc", |
357 "audio_low_latency_input_output_unittest.cc", | 364 "audio_low_latency_input_output_unittest.cc", |
358 ] | 365 ] |
359 } | 366 } |
360 } | 367 } |
OLD | NEW |