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