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

Unified Diff: services/device/screen_orientation/BUILD.gn

Issue 2772183002: [DeviceService] Cleanup of android library dependencies. (Closed)
Patch Set: Add comments for changes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/device/BUILD.gn ('k') | services/device/time_zone_monitor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/screen_orientation/BUILD.gn
diff --git a/services/device/screen_orientation/BUILD.gn b/services/device/screen_orientation/BUILD.gn
index be91f8dd91f7353ceef30a2785911bc570e0d880..6aa31af019874403e640fe46699fd03f38cd7299 100644
--- a/services/device/screen_orientation/BUILD.gn
+++ b/services/device/screen_orientation/BUILD.gn
@@ -38,4 +38,16 @@ if (is_android) {
]
jni_package = "screen_orientation"
}
+
+ android_library("java") {
+ # Conceptually, this should be visible only to //services/device:java.
+ # However, various generated targets also need to see this target as a
+ # result of //services/device:java depending on it.
+ visibility = [ "//services/device:*" ]
+ java_files = [ "android/java/src/org/chromium/device/screen_orientation/ScreenOrientationListener.java" ]
+ deps = [
+ "//base:base_java",
+ "//ui/android:ui_java",
+ ]
+ }
}
« no previous file with comments | « services/device/BUILD.gn ('k') | services/device/time_zone_monitor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698