Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: media/audio/BUILD.gn

Issue 2079843003: Allow AudioManagerCras enumerate audio devices from CRAS not just defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit: using display_name instead of device_name Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/audio/audio_manager_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 if (is_chromeos || is_chromecast) { 345 if (is_chromeos || is_chromecast) {
346 sources += [ 346 sources += [
347 "sounds/audio_stream_handler_unittest.cc", 347 "sounds/audio_stream_handler_unittest.cc",
348 "sounds/sounds_manager_unittest.cc", 348 "sounds/sounds_manager_unittest.cc",
349 "sounds/test_data.cc", 349 "sounds/test_data.cc",
350 "sounds/test_data.h", 350 "sounds/test_data.h",
351 "sounds/wav_audio_handler_unittest.cc", 351 "sounds/wav_audio_handler_unittest.cc",
352 ] 352 ]
353 353
354 if (!is_chromecast) {
355 deps += [ "//chromeos:chromeos" ]
356 }
357
354 if (use_cras) { 358 if (use_cras) {
355 sources += [ 359 sources += [
356 "cras/cras_input_unittest.cc", 360 "cras/cras_input_unittest.cc",
357 "cras/cras_unified_unittest.cc", 361 "cras/cras_unified_unittest.cc",
358 ] 362 ]
359 } 363 }
360 } 364 }
361 365
362 if (is_win) { 366 if (is_win) {
363 sources += [ 367 sources += [
364 "win/audio_device_listener_win_unittest.cc", 368 "win/audio_device_listener_win_unittest.cc",
365 "win/audio_low_latency_input_win_unittest.cc", 369 "win/audio_low_latency_input_win_unittest.cc",
366 "win/audio_low_latency_output_win_unittest.cc", 370 "win/audio_low_latency_output_win_unittest.cc",
367 "win/audio_output_win_unittest.cc", 371 "win/audio_output_win_unittest.cc",
368 "win/core_audio_util_win_unittest.cc", 372 "win/core_audio_util_win_unittest.cc",
369 ] 373 ]
370 } 374 }
371 375
372 if (use_alsa) { 376 if (use_alsa) {
373 sources += [ 377 sources += [
374 "alsa/alsa_output_unittest.cc", 378 "alsa/alsa_output_unittest.cc",
375 "audio_low_latency_input_output_unittest.cc", 379 "audio_low_latency_input_output_unittest.cc",
376 ] 380 ]
377 } 381 }
378 } 382 }
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698