| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 packages = [ "libcras" ] | 267 packages = [ "libcras" ] |
| 268 } | 268 } |
| 269 } | 269 } |
| 270 | 270 |
| 271 if (use_pulseaudio && link_pulseaudio) { | 271 if (use_pulseaudio && link_pulseaudio) { |
| 272 pkg_config("libpulse") { | 272 pkg_config("libpulse") { |
| 273 packages = [ "libpulse" ] | 273 packages = [ "libpulse" ] |
| 274 } | 274 } |
| 275 } | 275 } |
| 276 | 276 |
| 277 source_set("test_support") { | 277 static_library("test_support") { |
| 278 testonly = true | 278 testonly = true |
| 279 sources = [ | 279 sources = [ |
| 280 "audio_unittest_util.cc", | 280 "audio_unittest_util.cc", |
| 281 "audio_unittest_util.h", | 281 "audio_unittest_util.h", |
| 282 "mock_audio_manager.cc", | 282 "mock_audio_manager.cc", |
| 283 "mock_audio_manager.h", | 283 "mock_audio_manager.h", |
| 284 "mock_audio_source_callback.cc", | 284 "mock_audio_source_callback.cc", |
| 285 "mock_audio_source_callback.h", | 285 "mock_audio_source_callback.h", |
| 286 "test_audio_input_controller_factory.cc", | 286 "test_audio_input_controller_factory.cc", |
| 287 "test_audio_input_controller_factory.h", | 287 "test_audio_input_controller_factory.h", |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 ] | 373 ] |
| 374 } | 374 } |
| 375 | 375 |
| 376 if (use_alsa) { | 376 if (use_alsa) { |
| 377 sources += [ | 377 sources += [ |
| 378 "alsa/alsa_output_unittest.cc", | 378 "alsa/alsa_output_unittest.cc", |
| 379 "audio_low_latency_input_output_unittest.cc", | 379 "audio_low_latency_input_output_unittest.cc", |
| 380 ] | 380 ] |
| 381 } | 381 } |
| 382 } | 382 } |
| OLD | NEW |