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

Unified Diff: chrome/browser/BUILD.gn

Issue 2399533002: Pull in vr_shell code for webvr (Closed)
Patch Set: fix android_clang_dbg_receipt error Created 4 years, 2 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/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index c6366d9b01dca14f6d4cc48ca1a3f49357d9bef2..11e171b9637b5ef1494ef7dfbd3d587ae2773f82 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3355,9 +3355,12 @@ split_static_library("browser") {
}
}
- if (enable_vr_shell && android_java_ui) {
- defines += [ "ENABLE_VR_SHELL" ]
- deps += [ "android/vr_shell:vr_shell" ]
+ if (enable_vr_shell || enable_webvr) {
+ if (enable_vr_shell) {
+ defines += [ "ENABLE_VR_SHELL" ]
+ }
+
+ deps += [ "android/vr_shell:vr_common" ]
configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
}

Powered by Google App Engine
This is Rietveld 408576698