| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 } | 306 } |
| 307 | 307 |
| 308 if (is_mac) { | 308 if (is_mac) { |
| 309 sources += [ | 309 sources += [ |
| 310 "mac/audio_auhal_mac_unittest.cc", | 310 "mac/audio_auhal_mac_unittest.cc", |
| 311 "mac/audio_device_listener_mac_unittest.cc", | 311 "mac/audio_device_listener_mac_unittest.cc", |
| 312 "mac/audio_low_latency_input_mac_unittest.cc", | 312 "mac/audio_low_latency_input_mac_unittest.cc", |
| 313 ] | 313 ] |
| 314 } | 314 } |
| 315 | 315 |
| 316 if (is_chromeos) { | 316 if (is_chromeos || is_chromecast) { |
| 317 sources += [ | 317 sources += [ |
| 318 "sounds/audio_stream_handler_unittest.cc", | 318 "sounds/audio_stream_handler_unittest.cc", |
| 319 "sounds/sounds_manager_unittest.cc", | 319 "sounds/sounds_manager_unittest.cc", |
| 320 "sounds/test_data.cc", | 320 "sounds/test_data.cc", |
| 321 "sounds/test_data.h", | 321 "sounds/test_data.h", |
| 322 "sounds/wav_audio_handler_unittest.cc", | 322 "sounds/wav_audio_handler_unittest.cc", |
| 323 ] | 323 ] |
| 324 | 324 |
| 325 if (use_cras) { | 325 if (use_cras) { |
| 326 sources += [ | 326 sources += [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 340 ] | 340 ] |
| 341 } | 341 } |
| 342 | 342 |
| 343 if (use_alsa) { | 343 if (use_alsa) { |
| 344 sources += [ | 344 sources += [ |
| 345 "alsa/alsa_output_unittest.cc", | 345 "alsa/alsa_output_unittest.cc", |
| 346 "audio_low_latency_input_output_unittest.cc", | 346 "audio_low_latency_input_output_unittest.cc", |
| 347 ] | 347 ] |
| 348 } | 348 } |
| 349 } | 349 } |
| OLD | NEW |