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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
5 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
7 8
8 source_set("lib") { 9 source_set("lib") {
9 sources = [ 10 sources = [
10 "device_service.cc", 11 "device_service.cc",
11 "device_service.h", 12 "device_service.h",
12 ] 13 ]
13 14
14 deps = [ 15 deps = [
15 "//base", 16 "//base",
16 "//device/power_monitor", 17 "//device/power_monitor",
17 "//device/time_zone_monitor", 18 "//device/time_zone_monitor",
18 "//services/service_manager/public/cpp", 19 "//services/service_manager/public/cpp",
19 ] 20 ]
20 21
22 if (enable_webvr) {
23 deps += [ "//device/vr" ]
24 } else {
25 deps += [ "//device/vr:mojo_bindings" ]
26 }
27
21 public_deps = [ 28 public_deps = [
22 # TODO(blundell): This dep shouldn't be necessary at all, 29 # TODO(blundell): This dep shouldn't be necessary at all,
23 # but content_shell fails to link in the component build if 30 # but content_shell fails to link in the component build if
24 # this isn't here as a public_dep. 31 # this isn't here as a public_dep.
25 "//device/time_zone_monitor/public/interfaces", 32 "//device/time_zone_monitor/public/interfaces",
26 ] 33 ]
27 34
28 data_deps = [ 35 data_deps = [
29 ":manifest", 36 ":manifest",
30 ] 37 ]
31 } 38 }
32 39
33 service_manifest("manifest") { 40 service_manifest("manifest") {
34 name = "device" 41 name = "device"
35 source = "manifest.json" 42 source = "manifest.json"
36 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698