| Index: chrome/browser/BUILD.gn
|
| diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
| index 58c06b799b004126e4f6d3e0fbf022853d172467..a5555c04c7f1583d7958852069bfffca3d5a4559 100644
|
| --- a/chrome/browser/BUILD.gn
|
| +++ b/chrome/browser/BUILD.gn
|
| @@ -3349,9 +3349,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" ]
|
| }
|
|
|
|
|