Index: chrome/browser/android/vr_shell/BUILD.gn |
diff --git a/chrome/browser/android/vr_shell/BUILD.gn b/chrome/browser/android/vr_shell/BUILD.gn |
index f2e1f803d8a66a17aed972aae41e32228ff1e299..cfba3c0c67f6d2686cbde1cc126bd9eca0a6b709 100644 |
--- a/chrome/browser/android/vr_shell/BUILD.gn |
+++ b/chrome/browser/android/vr_shell/BUILD.gn |
@@ -6,9 +6,9 @@ import("//build/config/android/rules.gni") |
import("//chrome/common/features.gni") |
import("//testing/test.gni") |
-assert(enable_vr_shell && android_java_ui) |
+assert(enable_vr_shell || enable_webvr) |
-static_library("vr_shell") { |
+static_library("vr_common") { |
sources = [ |
"animation.cc", |
"animation.h", |
@@ -69,7 +69,7 @@ test("vr_shell_unittests") { |
] |
deps = [ |
- ":vr_shell", |
+ ":vr_common", |
"//base/test:run_all_unittests", |
"//base/test:test_support", |
"//testing/gtest", |