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

Unified Diff: content/public/android/BUILD.gn

Issue 1306883009: Reland of Android WebVR implementation, Cardboard 0.5.5 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/public/android/BUILD.gn
diff --git a/content/public/android/BUILD.gn b/content/public/android/BUILD.gn
index cd610f9a81639863f668e87ccb69df4e2aba1e36..b198f008df314622d3d8db85633c88f27c306257 100644
--- a/content/public/android/BUILD.gn
+++ b/content/public/android/BUILD.gn
@@ -61,6 +61,10 @@
]
DEPRECATED_java_in_dir = "java/src"
+
+ if (enable_webvr) {
+ deps += [ "//third_party/cardboard-java:cardboard-java" ]
+ }
}
java_strings_grd("content_strings_grd") {
@@ -155,6 +159,13 @@
generate_jni("content_jni_headers") {
sources = rebase_path(content_jni_gypi_values.sources, "", "../..")
jni_package = "content"
+
+ if (enable_webvr) {
+ sources += [ "//content/public/android/java/src/org/chromium/content/browser/input/CardboardVRDevice.java" ]
+ deps = [
+ "//third_party/cardboard-java:cardboard-java",
+ ]
+ }
}
group("jni") {

Powered by Google App Engine
This is Rietveld 408576698