Index: media/cast/cast.gyp |
diff --git a/media/cast/cast.gyp b/media/cast/cast.gyp |
index a0dbf4487093aa046272c476a37986eb69d324ae..e1a57dc015915cb51b663f7572dc15ab7b331693 100644 |
--- a/media/cast/cast.gyp |
+++ b/media/cast/cast.gyp |
@@ -184,7 +184,7 @@ |
'<(DEPTH)/media/cast/test/receiver.cc', |
], |
'conditions': [ |
- ['OS == "linux"', { |
+ ['OS == "linux" and use_x11==1', { |
'dependencies': [ |
'<(DEPTH)/build/linux/system.gyp:x11', |
'<(DEPTH)/build/linux/system.gyp:xext', |