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

Unified Diff: content/browser/BUILD.gn

Issue 2029703002: Moving VR service from /content/browser to /device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added nogncheck to failing include Created 4 years, 6 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 | content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index cab0cc60b98a660f546fccd798387550cf038307..dbea5bbf93e400f6d0fa8ef9808700db90d88013 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -501,25 +501,6 @@ source_set("browser") {
configs += [ "//media/mojo/services:mojo_media_config" ]
}
- if (enable_webvr) {
- sources += [
- "vr/vr_device.cc",
- "vr/vr_device.h",
- "vr/vr_device_manager.cc",
- "vr/vr_device_manager.h",
- "vr/vr_device_provider.h",
- ]
- }
-
- if (enable_webvr && is_android) {
- sources += [
- "vr/android/cardboard/cardboard_vr_device.cc",
- "vr/android/cardboard/cardboard_vr_device.h",
- "vr/android/cardboard/cardboard_vr_device_provider.cc",
- "vr/android/cardboard/cardboard_vr_device_provider.h",
- ]
- }
-
if (use_ozone) {
deps += [ "//ui/ozone" ]
}
@@ -530,6 +511,10 @@ source_set("browser") {
"gpu/gpu_surface_tracker.h",
]
}
+
+ if (enable_webvr) {
+ deps += [ "//device/vr" ]
+ }
}
# See comment at the top of //content/BUILD.gn for how this works.
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698