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

Unified Diff: services/device/BUILD.gn

Issue 2603553002: Ports VRService to be hosted in the device service.
Patch Set: Ports VRService to be hosted in the device service. Created 3 years, 11 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
Index: services/device/BUILD.gn
diff --git a/services/device/BUILD.gn b/services/device/BUILD.gn
index d6c468dc3dae1778012e5c7c6e8b8ec61d1e023a..ec5bd51f3b1f9776318528bf00e3062cfd1156b3 100644
--- a/services/device/BUILD.gn
+++ b/services/device/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
@@ -18,6 +19,12 @@ source_set("lib") {
"//services/service_manager/public/cpp",
]
+ if (enable_webvr) {
+ deps += [ "//device/vr" ]
+ } else {
+ deps += [ "//device/vr:mojo_bindings" ]
+ }
+
public_deps = [
# TODO(blundell): This dep shouldn't be necessary at all,
# but content_shell fails to link in the component build if

Powered by Google App Engine
This is Rietveld 408576698