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

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: Updated to use Mojo as requested by eng review Created 5 years, 7 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
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d87e3c5739962b9d726499046ed02c635014e4be..3e5d78d44c11c9bbcba90bfafd67489135170323 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1014,6 +1014,14 @@
}, {
'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86',
}],
+
+ # Enable WebVR support by default on Android
+ # Still requires command line flag to access API
+ ['OS=="android"', {
+ 'enable_webvr%': 1,
+ }, {
+ 'enable_webvr%': 0,
+ }],
],
# Setting this to '0' will cause V8's startup snapshot to be
@@ -1232,6 +1240,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)',
# Use system protobuf instead of bundled one.
'use_system_protobuf%': 0,
@@ -3032,6 +3041,9 @@
['v8_use_external_startup_data==1', {
'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
}],
+ ['enable_webvr==1', {
+ 'defines': ['ENABLE_WEBVR=1'],
+ }],
# 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 | chrome/app/generated_resources.grd » ('j') | content/browser/renderer_host/vr_message_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698