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

Unified Diff: build/common.gypi

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed one cardboard reference Created 5 years, 6 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 | « no previous file | build/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d1c09dd382d058e6ebe5c1e3da928805d6482896..7393bf96ce98c1a79de7fb4538773d8138bcb4d1 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1009,6 +1009,9 @@
}],
],
+ # WebVR support disabled until platform implementations have been added
+ 'enable_webvr%': 0,
+
# Setting this to '0' will cause V8's startup snapshot to be
# embedded in the binary instead of being a external files.
'v8_use_external_startup_data%': 1,
@@ -1222,6 +1225,7 @@
'mac_views_browser%': '<(mac_views_browser)',
'android_app_version_name%': '<(android_app_version_name)',
'android_app_version_code%': '<(android_app_version_code)',
+ 'enable_webvr%': '<(enable_webvr)',
# Turns on compiler optimizations in V8 in Debug build.
'v8_optimized_debug%': 1,
@@ -3023,6 +3027,9 @@
['v8_use_external_startup_data==1', {
'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
}],
+ ['enable_webvr==1', {
+ 'defines': ['ENABLE_WEBVR'],
+ }],
# SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
# SAFE_BROWSING_DB_LOCAL - service manages a local database.
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698