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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_file_writer.cc", | 57 "audio_debug_file_writer.cc", |
58 "audio_debug_file_writer.h", | 58 "audio_debug_file_writer.h", |
| 59 "audio_debug_recording_helper.cc", |
| 60 "audio_debug_recording_helper.h", |
| 61 "audio_debug_recording_manager.cc", |
| 62 "audio_debug_recording_manager.h", |
59 "audio_device_description.cc", | 63 "audio_device_description.cc", |
60 "audio_device_description.h", | 64 "audio_device_description.h", |
61 "audio_device_name.cc", | 65 "audio_device_name.cc", |
62 "audio_device_name.h", | 66 "audio_device_name.h", |
63 "audio_device_thread.cc", | 67 "audio_device_thread.cc", |
64 "audio_device_thread.h", | 68 "audio_device_thread.h", |
65 "audio_features.cc", | 69 "audio_features.cc", |
66 "audio_features.h", | 70 "audio_features.h", |
67 "audio_input_controller.cc", | 71 "audio_input_controller.cc", |
68 "audio_input_controller.h", | 72 "audio_input_controller.h", |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "//testing/gmock", | 301 "//testing/gmock", |
298 "//testing/gtest", | 302 "//testing/gtest", |
299 ] | 303 ] |
300 configs += [ "//media:media_config" ] | 304 configs += [ "//media:media_config" ] |
301 } | 305 } |
302 | 306 |
303 source_set("unit_tests") { | 307 source_set("unit_tests") { |
304 testonly = true | 308 testonly = true |
305 sources = [ | 309 sources = [ |
306 "audio_debug_file_writer_unittest.cc", | 310 "audio_debug_file_writer_unittest.cc", |
| 311 "audio_debug_recording_helper_unittest.cc", |
| 312 "audio_debug_recording_manager_unittest.cc", |
307 "audio_input_controller_unittest.cc", | 313 "audio_input_controller_unittest.cc", |
308 "audio_input_device_unittest.cc", | 314 "audio_input_device_unittest.cc", |
309 "audio_input_unittest.cc", | 315 "audio_input_unittest.cc", |
310 "audio_manager_unittest.cc", | 316 "audio_manager_unittest.cc", |
311 "audio_output_controller_unittest.cc", | 317 "audio_output_controller_unittest.cc", |
312 "audio_output_device_unittest.cc", | 318 "audio_output_device_unittest.cc", |
313 "audio_output_proxy_unittest.cc", | 319 "audio_output_proxy_unittest.cc", |
314 "audio_power_monitor_unittest.cc", | 320 "audio_power_monitor_unittest.cc", |
315 "audio_system_impl_unittest.cc", | 321 "audio_system_impl_unittest.cc", |
316 "fake_audio_worker_unittest.cc", | 322 "fake_audio_worker_unittest.cc", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 ] | 385 ] |
380 } | 386 } |
381 | 387 |
382 if (use_alsa) { | 388 if (use_alsa) { |
383 sources += [ | 389 sources += [ |
384 "alsa/alsa_output_unittest.cc", | 390 "alsa/alsa_output_unittest.cc", |
385 "audio_low_latency_input_output_unittest.cc", | 391 "audio_low_latency_input_output_unittest.cc", |
386 ] | 392 ] |
387 } | 393 } |
388 } | 394 } |
OLD | NEW |