OLD | NEW |
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("//services/service_manager/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/service_manager/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 source_set("lib") { | 12 source_set("lib") { |
13 sources = [ | 13 sources = [ |
14 "device_service.cc", | 14 "device_service.cc", |
15 "device_service.h", | 15 "device_service.h", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
| 20 "//device/wake_lock", |
20 "//services/device/fingerprint", | 21 "//services/device/fingerprint", |
21 "//services/device/power_monitor", | 22 "//services/device/power_monitor", |
22 "//services/device/screen_orientation", | 23 "//services/device/screen_orientation", |
23 "//services/device/time_zone_monitor", | 24 "//services/device/time_zone_monitor", |
24 "//services/service_manager/public/cpp", | 25 "//services/service_manager/public/cpp", |
| 26 "//ui/gfx", |
25 ] | 27 ] |
26 | 28 |
27 if (is_android) { | 29 if (is_android) { |
28 sources += [ | 30 sources += [ |
29 "//services/device/android/register_jni.cc", | 31 "//services/device/android/register_jni.cc", |
30 "//services/device/android/register_jni.h", | 32 "//services/device/android/register_jni.h", |
31 ] | 33 ] |
32 } | 34 } |
33 } | 35 } |
34 | 36 |
(...skipping 30 matching lines...) Expand all Loading... |
65 java_files = [ | 67 java_files = [ |
66 "screen_orientation/android/java/src/org/chromium/device/screen_orientatio
n/ScreenOrientationListener.java", | 68 "screen_orientation/android/java/src/org/chromium/device/screen_orientatio
n/ScreenOrientationListener.java", |
67 "time_zone_monitor/android/java/src/org/chromium/device/time_zone_monitor/
TimeZoneMonitor.java", | 69 "time_zone_monitor/android/java/src/org/chromium/device/time_zone_monitor/
TimeZoneMonitor.java", |
68 ] | 70 ] |
69 deps = [ | 71 deps = [ |
70 "//base:base_java", | 72 "//base:base_java", |
71 "//ui/android:ui_java", | 73 "//ui/android:ui_java", |
72 ] | 74 ] |
73 } | 75 } |
74 } | 76 } |
OLD | NEW |