| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 282 |
| 283 if (use_pulseaudio && link_pulseaudio) { | 283 if (use_pulseaudio && link_pulseaudio) { |
| 284 pkg_config("libpulse") { | 284 pkg_config("libpulse") { |
| 285 packages = [ "libpulse" ] | 285 packages = [ "libpulse" ] |
| 286 } | 286 } |
| 287 } | 287 } |
| 288 | 288 |
| 289 static_library("test_support") { | 289 static_library("test_support") { |
| 290 testonly = true | 290 testonly = true |
| 291 sources = [ | 291 sources = [ |
| 292 "audio_device_info_accessor_for_tests.cc", |
| 293 "audio_device_info_accessor_for_tests.h", |
| 292 "audio_unittest_util.cc", | 294 "audio_unittest_util.cc", |
| 293 "audio_unittest_util.h", | 295 "audio_unittest_util.h", |
| 294 "mock_audio_manager.cc", | 296 "mock_audio_manager.cc", |
| 295 "mock_audio_manager.h", | 297 "mock_audio_manager.h", |
| 296 "mock_audio_source_callback.cc", | 298 "mock_audio_source_callback.cc", |
| 297 "mock_audio_source_callback.h", | 299 "mock_audio_source_callback.h", |
| 298 "test_audio_input_controller_factory.cc", | 300 "test_audio_input_controller_factory.cc", |
| 299 "test_audio_input_controller_factory.h", | 301 "test_audio_input_controller_factory.h", |
| 300 ] | 302 ] |
| 301 configs += [ ":platform_config" ] | 303 configs += [ ":platform_config" ] |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 ] | 391 ] |
| 390 } | 392 } |
| 391 | 393 |
| 392 if (use_alsa) { | 394 if (use_alsa) { |
| 393 sources += [ | 395 sources += [ |
| 394 "alsa/alsa_output_unittest.cc", | 396 "alsa/alsa_output_unittest.cc", |
| 395 "audio_low_latency_input_output_unittest.cc", | 397 "audio_low_latency_input_output_unittest.cc", |
| 396 ] | 398 ] |
| 397 } | 399 } |
| 398 } | 400 } |
| OLD | NEW |