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

Unified Diff: media/media.gyp

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/cras/audio_manager_cras.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index d2baca75f11f9f6ff6d8e16dac047c4131d87499..ab5458c09f32510d72fa8f9309a437599da287fd 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1357,6 +1357,22 @@
'../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
],
}],
+ ['use_cras==1', {
+ 'dependencies': [
+ '../chromeos/chromeos.gyp:chromeos',
+ ],
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags libcras)',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '<!@(<(pkg-config) --libs libcras)',
+ ],
+ },
+ 'defines': [
+ 'USE_CRAS',
+ ],
+ }],
],
},
{
« no previous file with comments | « media/audio/cras/audio_manager_cras.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698