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

Unified Diff: device/battery/android/BUILD.gn

Issue 592153002: Replace Chrome IPC with Mojo IPC for querying BatteryStatus service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment. Created 6 years, 2 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 | « device/battery/OWNERS ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/android/BUILD.gn
diff --git a/components/navigation_interception/android/BUILD.gn b/device/battery/android/BUILD.gn
similarity index 52%
copy from components/navigation_interception/android/BUILD.gn
copy to device/battery/android/BUILD.gn
index b13a847e9b49bd58f22baacc9d85627f1733d6a6..f88cfc0b3deee30d6e91850be43bee8cc5a8f7c6 100644
--- a/components/navigation_interception/android/BUILD.gn
+++ b/device/battery/android/BUILD.gn
@@ -2,11 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
-android_library("navigation_interception_java") {
- deps = [
- "//base:base_java",
+generate_jni("battery_jni_headers") {
+ jni_package = "battery"
+ sources = [
+ "java/src/org/chromium/device/battery/BatteryStatusManager.java",
]
- DEPRECATED_java_in_dir = "java/src"
}
« no previous file with comments | « device/battery/OWNERS ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698