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', |
+ ], |
+ }], |
], |
}, |
{ |