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

Unified Diff: chromecast/chromecast.gyp

Issue 837573003: Chromecast: adds disable_display define for headless builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/chromecast_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/chromecast_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698