Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index afcb0d3a98c0f2087994fbc51f33d91246c9c327..687315575d28c4a41eced21ac1bc1d64199422c6 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -1403,6 +1403,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', |
+ ], |
+ }], |
], |
}, |
{ |