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

Side by Side Diff: device/battery/android/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 unified diff | Download patch
« no previous file with comments | « device/battery/BUILD.gn ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 generate_jni("battery_jni_headers") { 8 android_library("battery_monitor_android") {
9 jni_package = "battery" 9 java_files = [
10 sources = [
11 "java/src/org/chromium/device/battery/BatteryStatusManager.java", 10 "java/src/org/chromium/device/battery/BatteryStatusManager.java",
11 "java/src/org/chromium/device/battery/BatteryMonitorImpl.java",
12 "java/src/org/chromium/device/battery/BatteryMonitorFactory.java",
13 ]
14
15 deps = [
16 "//base:base_java",
17 "//device/battery:mojo_bindings_java",
18 "//mojo/public/java:bindings",
19 "//mojo/public/java:system",
12 ] 20 ]
13 } 21 }
OLDNEW
« no previous file with comments | « device/battery/BUILD.gn ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698