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

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

Issue 2734943003: Device Service: Decouple Wake Lock from //content (Closed)
Patch Set: Response to review + 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
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("//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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698