Index: chromecast/chromecast.gyp |
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp |
index 74525ac6b70d1bddbf038e4417444d235dcd7a5c..facb19bd0feb48e574a37cccf874ccd81d2e22b6 100644 |
--- a/chromecast/chromecast.gyp |
+++ b/chromecast/chromecast.gyp |
@@ -8,6 +8,7 @@ |
'../third_party/android_tools/android_tools.gyp:android_support_v13_javalib', |
'chromium_code': 1, |
'chromecast_branding%': 'Chromium', |
+ 'disable_display%': 0, |
}, |
'includes': [ |
'chromecast_tests.gypi', |
@@ -16,6 +17,11 @@ |
'include_dirs': [ |
'..', # Root of Chromium checkout |
], |
+ 'conditions': [ |
+ ['disable_display==1', { |
+ 'defines': ['DISABLE_DISPLAY'], |
+ }], |
+ ], |
}, |
'targets': [ |
# TODO(gunsch): Remove these fake targets once they're either added or no |