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

Unified Diff: build/common.gypi

Issue 1200303002: Android WebVR implementation, Cardboard 0.5.5 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build dependencies Created 5 years, 4 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/features.gni » ('j') | content/browser/vr/vr_transform_util.h » ('J')
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 7127a592cd21cfb62dd228901b91db43e2ebce74..87b800cb010a51943ccb071c83fc11fea1e816ae 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1028,10 +1028,15 @@
}, {
'pkg-config': 'pkg-config'
}],
- ],
- # WebVR support disabled until platform implementations have been added
- 'enable_webvr%': 0,
+ # 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
# embedded in the binary instead of being a external files.
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | content/browser/vr/vr_transform_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698