Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 0c2fe266301ca261cb45622a407e940c81a9415e..d77a3117252f3158a9714abc67bc1855d4c7d831 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -3538,8 +3538,10 @@ split_static_library("browser") { |
} |
if (enable_webvr) { |
- deps += [ "android/vr_shell:vr_common" ] |
- configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
+ if (is_android) { |
+ deps += [ "android/vr_shell:vr_common" ] |
+ configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
+ } |
} |
if (is_mac) { |