| 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
|
|
|