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

Unified Diff: device/battery/BUILD.gn

Issue 641703002: Rewrite the Android implementation of BatteryMonitor directly in Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@battery-status-api-to-mojo
Patch Set: Address Torne's comment. Created 6 years 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 | « content/shell/browser/shell_mojo_test_utils_android.cc ('k') | device/battery/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/BUILD.gn
diff --git a/device/battery/BUILD.gn b/device/battery/BUILD.gn
index 5a633743335bb73c2648ecc055f6849ee7898659..e3afef718bcf3d3fbab41e2e2c4ea6764ecd13ce 100644
--- a/device/battery/BUILD.gn
+++ b/device/battery/BUILD.gn
@@ -12,8 +12,6 @@ component("battery") {
"battery_export.h",
"battery_monitor_impl.cc",
"battery_monitor_impl.h",
- "battery_status_manager_android.cc",
- "battery_status_manager_android.h",
"battery_status_manager_chromeos.cc",
"battery_status_manager_default.cc",
"battery_status_manager_linux.cc",
@@ -36,15 +34,6 @@ component("battery") {
"//mojo/edk/system",
]
- if (is_android) {
- deps += [ "//device/battery/android:battery_jni_headers" ]
- sources += [
- "android/battery_jni_registrar.h",
- "android/battery_jni_registrar.cc",
- ]
- sources -= [ "battery_status_manager_default.cc" ]
- }
-
if (is_chromeos) {
configs += [ "//build/config/linux:dbus" ]
deps += [ "//chromeos:power_manager_proto" ]
« no previous file with comments | « content/shell/browser/shell_mojo_test_utils_android.cc ('k') | device/battery/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698