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

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

Issue 2772183002: [DeviceService] Cleanup of android library dependencies. (Closed)
Patch Set: content/public/android:* 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
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 visibility = [ "//content/browser" ]
blundell 2017/03/27 08:45:11 Nit: Add a comment here saying that this should be
leonhsl(Using Gerrit) 2017/03/27 09:13:26 Done.
14 sources = [ 15 sources = [
15 "device_service.cc", 16 "device_service.cc",
16 "device_service.h", 17 "device_service.h",
17 ] 18 ]
18 19
19 deps = [ 20 deps = [
20 "//base", 21 "//base",
21 "//device/battery:mojo_bindings", 22 "//device/battery:mojo_bindings",
22 "//device/sensors", 23 "//device/sensors",
23 "//device/vibration:mojo_bindings", 24 "//device/vibration:mojo_bindings",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 79
79 if (is_android) { 80 if (is_android) {
80 generate_jni("device_service_jni_headers") { 81 generate_jni("device_service_jni_headers") {
81 sources = [ 82 sources = [
82 "android/java/src/org/chromium/services/device/InterfaceRegistrar.java", 83 "android/java/src/org/chromium/services/device/InterfaceRegistrar.java",
83 ] 84 ]
84 jni_package = "device_service" 85 jni_package = "device_service"
85 } 86 }
86 87
87 android_library("java") { 88 android_library("java") {
88 java_files = [ 89 visibility = [ "//content/public/android:*" ]
blundell 2017/03/27 08:45:11 similar nit to above.
leonhsl(Using Gerrit) 2017/03/27 09:13:27 Done.
89 "android/java/src/org/chromium/services/device/InterfaceRegistrar.java", 90 java_files = [ "android/java/src/org/chromium/services/device/InterfaceRegis trar.java" ]
90 "screen_orientation/android/java/src/org/chromium/device/screen_orientatio n/ScreenOrientationListener.java",
91 "time_zone_monitor/android/java/src/org/chromium/device/time_zone_monitor/ TimeZoneMonitor.java",
92 ]
93 deps = [ 91 deps = [
94 "//base:base_java", 92 "//base:base_java",
95 "//device/battery:mojo_bindings_java", 93 "//device/battery:mojo_bindings_java",
96 "//device/battery/android:battery_monitor_java", 94 "//device/battery/android:battery_monitor_java",
97 "//device/vibration:mojo_bindings_java", 95 "//device/vibration:mojo_bindings_java",
98 "//device/vibration/android:vibration_manager_java", 96 "//device/vibration/android:vibration_manager_java",
99 "//mojo/android:system_java", 97 "//mojo/android:system_java",
100 "//mojo/public/java:bindings_java", 98 "//mojo/public/java:bindings_java",
101 "//mojo/public/java:system_java", 99 "//mojo/public/java:system_java",
100 "//services/device/screen_orientation:java",
101 "//services/device/time_zone_monitor:java",
102 "//services/service_manager/public/interfaces:interfaces_java", 102 "//services/service_manager/public/interfaces:interfaces_java",
103 "//services/service_manager/public/java:service_manager_java", 103 "//services/service_manager/public/java:service_manager_java",
104 "//ui/android:ui_java",
105 ] 104 ]
106 } 105 }
107 } 106 }
OLDNEW
« no previous file with comments | « no previous file | services/device/screen_orientation/BUILD.gn » ('j') | services/device/screen_orientation/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698