Index: chrome/android/BUILD.gn |
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn |
index 475fea4c4acf7c98e0576566bc6d6ee810d7cecd..718992ad67a0721634873cf6e8c39ae1652d5d06 100644 |
--- a/chrome/android/BUILD.gn |
+++ b/chrome/android/BUILD.gn |
@@ -261,9 +261,7 @@ android_library("chrome_java") { |
] |
} |
- # VrActivity currently depends on ChromeTabbedActivity which is part of |
- # android_java_ui. |
- if (enable_vr_shell && android_java_ui) { |
+ if (enable_vr_shell || enable_webvr) { |
java_files += chrome_vr_java_sources |
deps += [ |
"//third_party/gvr-android-sdk:gvr_base_java", |