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

Unified Diff: chrome/browser/BUILD.gn

Issue 2757933002: Allow building non-Android with enable_webvr (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698