| 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_file_writer.cc", |
| 58 "audio_debug_file_writer.h", |
| 57 "audio_device_description.cc", | 59 "audio_device_description.cc", |
| 58 "audio_device_description.h", | 60 "audio_device_description.h", |
| 59 "audio_device_name.cc", | 61 "audio_device_name.cc", |
| 60 "audio_device_name.h", | 62 "audio_device_name.h", |
| 61 "audio_device_thread.cc", | 63 "audio_device_thread.cc", |
| 62 "audio_device_thread.h", | 64 "audio_device_thread.h", |
| 63 "audio_features.cc", | 65 "audio_features.cc", |
| 64 "audio_features.h", | 66 "audio_features.h", |
| 65 "audio_file_writer.h", | |
| 66 "audio_input_controller.cc", | 67 "audio_input_controller.cc", |
| 67 "audio_input_controller.h", | 68 "audio_input_controller.h", |
| 68 "audio_input_device.cc", | 69 "audio_input_device.cc", |
| 69 "audio_input_device.h", | 70 "audio_input_device.h", |
| 70 "audio_input_ipc.cc", | 71 "audio_input_ipc.cc", |
| 71 "audio_input_ipc.h", | 72 "audio_input_ipc.h", |
| 72 "audio_io.h", | 73 "audio_io.h", |
| 73 "audio_manager.cc", | 74 "audio_manager.cc", |
| 74 "audio_manager.h", | 75 "audio_manager.h", |
| 75 "audio_manager_base.cc", | 76 "audio_manager_base.cc", |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 "//media", | 296 "//media", |
| 296 "//testing/gmock", | 297 "//testing/gmock", |
| 297 "//testing/gtest", | 298 "//testing/gtest", |
| 298 ] | 299 ] |
| 299 configs += [ "//media:media_config" ] | 300 configs += [ "//media:media_config" ] |
| 300 } | 301 } |
| 301 | 302 |
| 302 source_set("unit_tests") { | 303 source_set("unit_tests") { |
| 303 testonly = true | 304 testonly = true |
| 304 sources = [ | 305 sources = [ |
| 306 "audio_debug_file_writer_unittest.cc", |
| 305 "audio_input_controller_unittest.cc", | 307 "audio_input_controller_unittest.cc", |
| 306 "audio_input_device_unittest.cc", | 308 "audio_input_device_unittest.cc", |
| 307 "audio_input_unittest.cc", | 309 "audio_input_unittest.cc", |
| 308 "audio_manager_unittest.cc", | 310 "audio_manager_unittest.cc", |
| 309 "audio_output_controller_unittest.cc", | 311 "audio_output_controller_unittest.cc", |
| 310 "audio_output_device_unittest.cc", | 312 "audio_output_device_unittest.cc", |
| 311 "audio_output_proxy_unittest.cc", | 313 "audio_output_proxy_unittest.cc", |
| 312 "audio_power_monitor_unittest.cc", | 314 "audio_power_monitor_unittest.cc", |
| 313 "audio_system_impl_unittest.cc", | 315 "audio_system_impl_unittest.cc", |
| 314 "fake_audio_worker_unittest.cc", | 316 "fake_audio_worker_unittest.cc", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 ] | 379 ] |
| 378 } | 380 } |
| 379 | 381 |
| 380 if (use_alsa) { | 382 if (use_alsa) { |
| 381 sources += [ | 383 sources += [ |
| 382 "alsa/alsa_output_unittest.cc", | 384 "alsa/alsa_output_unittest.cc", |
| 383 "audio_low_latency_input_output_unittest.cc", | 385 "audio_low_latency_input_output_unittest.cc", |
| 384 ] | 386 ] |
| 385 } | 387 } |
| 386 } | 388 } |
| OLD | NEW |