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

Side by Side Diff: services/device/BUILD.gn

Issue 2698083007: Port device_generic_sensor to be hosted in Device Service. (Closed)
Patch Set: code rebase Created 3 years, 8 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
« no previous file with comments | « content/public/common/content_features.cc ('k') | services/device/device_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/features.gni")
6 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
7 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
11 } 11 }
12 12
13 source_set("lib") { 13 source_set("lib") {
14 # This should be visible only to embedders of the Device Service, and the 14 # This should be visible only to embedders of the Device Service, and the
15 # dependence should only be for the purpose of embedding the Device Service. 15 # dependence should only be for the purpose of embedding the Device Service.
16 visibility = [ "//content/browser" ] 16 visibility = [ "//content/browser" ]
17 sources = [ 17 sources = [
18 "device_service.cc", 18 "device_service.cc",
19 "device_service.h", 19 "device_service.h",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//device/battery:mojo_bindings", 24 "//device/battery:mojo_bindings",
25 "//device/generic_sensor",
25 "//device/sensors", 26 "//device/sensors",
26 "//device/vibration:mojo_bindings", 27 "//device/vibration:mojo_bindings",
27 "//device/wake_lock", 28 "//device/wake_lock",
28 "//services/device/fingerprint", 29 "//services/device/fingerprint",
29 "//services/device/power_monitor", 30 "//services/device/power_monitor",
31 "//services/device/public/cpp:device_features",
30 "//services/device/screen_orientation", 32 "//services/device/screen_orientation",
31 "//services/device/time_zone_monitor", 33 "//services/device/time_zone_monitor",
32 "//services/service_manager/public/cpp", 34 "//services/service_manager/public/cpp",
33 "//ui/gfx", 35 "//ui/gfx",
34 ] 36 ]
35 37
36 if (is_android) { 38 if (is_android) {
37 sources += [ 39 sources += [
38 "//services/device/android/register_jni.cc", 40 "//services/device/android/register_jni.cc",
39 "//services/device/android/register_jni.h", 41 "//services/device/android/register_jni.h",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "//mojo/android:system_java", 108 "//mojo/android:system_java",
107 "//mojo/public/java:bindings_java", 109 "//mojo/public/java:bindings_java",
108 "//mojo/public/java:system_java", 110 "//mojo/public/java:system_java",
109 "//services/device/screen_orientation:java", 111 "//services/device/screen_orientation:java",
110 "//services/device/time_zone_monitor:java", 112 "//services/device/time_zone_monitor:java",
111 "//services/service_manager/public/interfaces:interfaces_java", 113 "//services/service_manager/public/interfaces:interfaces_java",
112 "//services/service_manager/public/java:service_manager_java", 114 "//services/service_manager/public/java:service_manager_java",
113 ] 115 ]
114 } 116 }
115 } 117 }
OLDNEW
« no previous file with comments | « content/public/common/content_features.cc ('k') | services/device/device_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698