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

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: Rebase Created 5 years, 5 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 50346d15e95bf48bfb2c395c6d7b0acfabc3c6b9..12abca1c320d81c0b997cdd3e3cd657aaadf54c2 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1025,10 +1025,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/android/cardboard/cardboard_vr_device.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698