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

Unified Diff: chrome/android/BUILD.gn

Issue 2252103002: Introduce ChromeVR to Chrome on Android (behind a build flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index f4363175e032d5753a0b9f273b141fe6f91b2a63..f93b9e9ad65d6d23abe1ed7e1e53d2cc301433f7 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -246,6 +246,14 @@ android_library("chrome_java") {
"//components/web_contents_delegate_android:web_contents_delegate_android_java",
]
}
+
+ if (enable_vr_shell) {
+ java_files += chrome_vr_java_sources
+ deps += [
+ "//third_party/gvr-android-sdk:gvr_base_java",
+ "//third_party/gvr-android-sdk:gvr_common_java",
+ ]
+ }
}
# GYP: //chrome/chrome_browser.gypi:activity_type_ids_java
@@ -552,6 +560,11 @@ chrome_public_apk_tmpl_shared("chrome_public_apk") {
deps = [
":chrome_public_apk_template_resources",
]
+
+ if (enable_vr_shell) {
+ deps += [ "//third_party/gvr-android-sdk:libgvr_shared_library" ]
+ loadable_modules = [ "$root_out_dir/libgvr.so" ]
+ }
}
chrome_public_apk_tmpl_shared("chrome_sync_shell_apk") {

Powered by Google App Engine
This is Rietveld 408576698