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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 "//media", | 299 "//media", |
296 "//testing/gmock", | 300 "//testing/gmock", |
297 "//testing/gtest", | 301 "//testing/gtest", |
298 ] | 302 ] |
299 configs += [ "//media:media_config" ] | 303 configs += [ "//media:media_config" ] |
300 } | 304 } |
301 | 305 |
302 source_set("unit_tests") { | 306 source_set("unit_tests") { |
303 testonly = true | 307 testonly = true |
304 sources = [ | 308 sources = [ |
| 309 "audio_debug_recording_helper_unittest.cc", |
| 310 "audio_debug_recording_manager_unittest.cc", |
305 "audio_input_controller_unittest.cc", | 311 "audio_input_controller_unittest.cc", |
306 "audio_input_device_unittest.cc", | 312 "audio_input_device_unittest.cc", |
307 "audio_input_unittest.cc", | 313 "audio_input_unittest.cc", |
308 "audio_manager_unittest.cc", | 314 "audio_manager_unittest.cc", |
309 "audio_output_controller_unittest.cc", | 315 "audio_output_controller_unittest.cc", |
310 "audio_output_device_unittest.cc", | 316 "audio_output_device_unittest.cc", |
311 "audio_output_proxy_unittest.cc", | 317 "audio_output_proxy_unittest.cc", |
312 "audio_power_monitor_unittest.cc", | 318 "audio_power_monitor_unittest.cc", |
313 "audio_system_impl_unittest.cc", | 319 "audio_system_impl_unittest.cc", |
314 "fake_audio_worker_unittest.cc", | 320 "fake_audio_worker_unittest.cc", |
(...skipping 62 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 |