Index: content/content.gyp |
diff --git a/content/content.gyp b/content/content.gyp |
index efcbf740586c2604ee6a4aa8cc9cdea4fb9cf508..7b7ff039b4489d8e801e1d6246958a94f3acf6d8 100644 |
--- a/content/content.gyp |
+++ b/content/content.gyp |
@@ -602,6 +602,16 @@ |
'motionevent_jni_headers' |
], |
'includes': [ 'content_jni.gypi' ], |
+ 'conditions': [ |
+ ['enable_webvr==1', { |
+ 'sources': [ |
+ 'public/android/java/src/org/chromium/content/browser/input/CardboardVRDevice.java', |
+ ], |
+ 'dependencies': [ |
+ '../third_party/cardboard-java/cardboard.gyp:cardboard_jar', |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'content_icudata', |