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

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

Issue 2734943003: Device Service: Decouple Wake Lock from //content (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « device/wake_lock/wake_lock_service_impl.cc ('k') | services/device/DEPS » ('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 sources = [ 14 sources = [
15 "device_service.cc", 15 "device_service.cc",
16 "device_service.h", 16 "device_service.h",
17 ] 17 ]
18 18
19 deps = [ 19 deps = [
20 "//base", 20 "//base",
21 "//device/battery:mojo_bindings", 21 "//device/battery:mojo_bindings",
22 "//device/sensors", 22 "//device/sensors",
23 "//device/vibration:mojo_bindings", 23 "//device/vibration:mojo_bindings",
24 "//device/wake_lock",
24 "//services/device/fingerprint", 25 "//services/device/fingerprint",
25 "//services/device/power_monitor", 26 "//services/device/power_monitor",
26 "//services/device/screen_orientation", 27 "//services/device/screen_orientation",
27 "//services/device/time_zone_monitor", 28 "//services/device/time_zone_monitor",
28 "//services/service_manager/public/cpp", 29 "//services/service_manager/public/cpp",
30 "//ui/gfx",
29 ] 31 ]
30 32
31 if (is_android) { 33 if (is_android) {
32 sources += [ 34 sources += [
33 "//services/device/android/register_jni.cc", 35 "//services/device/android/register_jni.cc",
34 "//services/device/android/register_jni.h", 36 "//services/device/android/register_jni.h",
35 ] 37 ]
36 deps += [ ":device_service_jni_headers" ] 38 deps += [ ":device_service_jni_headers" ]
37 } else { 39 } else {
38 deps += [ 40 deps += [
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "//device/vibration/android:vibration_manager_java", 100 "//device/vibration/android:vibration_manager_java",
99 "//mojo/android:system_java", 101 "//mojo/android:system_java",
100 "//mojo/public/java:bindings_java", 102 "//mojo/public/java:bindings_java",
101 "//mojo/public/java:system_java", 103 "//mojo/public/java:system_java",
102 "//services/service_manager/public/interfaces:interfaces_java", 104 "//services/service_manager/public/interfaces:interfaces_java",
103 "//services/service_manager/public/java:service_manager_java", 105 "//services/service_manager/public/java:service_manager_java",
104 "//ui/android:ui_java", 106 "//ui/android:ui_java",
105 ] 107 ]
106 } 108 }
107 } 109 }
OLDNEW
« no previous file with comments | « device/wake_lock/wake_lock_service_impl.cc ('k') | services/device/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698