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
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
9 output_name = "device_battery"
13 "battery_monitor_impl.cc",
14 "battery_monitor_impl.h",
15 "battery_status_manager_android.cc",
16 "battery_status_manager_android.h",
17 "battery_status_manager_chromeos.cc",
18 "battery_status_manager_default.cc",
19 "battery_status_manager_linux.cc",
20 "battery_status_manager_linux.h",
21 "battery_status_manager_mac.cc",
22 "battery_status_manager_win.cc",
23 "battery_status_manager_win.h",
24 "battery_status_service.cc",
25 "battery_status_service.h",
29 "DEVICE_BATTERY_IMPLEMENTATION",
35 "//base/third_party/dynamic_annotations",
36 "//mojo/environment:chromium",
37 "//mojo/public/cpp/bindings",
43 "//device/battery/android:battery_jni_headers",
46 "android/battery_jni_registrar.h",
47 "android/battery_jni_registrar.cc",
50 "battery_status_manager_default.cc",
56 "//build/config/linux:dbus",
59 "//chromeos:power_manager_proto",
62 "battery_status_manager_default.cc",
63 "battery_status_manager_linux.cc",
70 "//build/config/linux:dbus",
76 "battery_status_manager_default.cc",
80 "battery_status_manager_linux.cc",
87 "battery_status_manager_default.cc",
93 "battery_status_manager_default.cc",
98 mojom("mojo_bindings") {
100 "battery_monitor.mojom",
101 "battery_status.mojom",