• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_static {
2
3    name: "liblocbatterylistener",
4    vendor: true,
5
6    sanitize: GNSS_SANITIZE,
7
8    cflags: GNSS_CFLAGS + ["-DBATTERY_LISTENER_ENABLED"],
9    local_include_dirs: ["."],
10
11    srcs: ["battery_listener.cpp"],
12
13    shared_libs: [
14        "liblog",
15        "libhidlbase",
16        "libcutils",
17        "libutils",
18        "android.hardware.health@1.0",
19        "android.hardware.health@2.0",
20        "android.hardware.health@2.1",
21        "android.hardware.power@1.2",
22        "libbase",
23    ],
24
25    static_libs: ["libhealthhalutils"],
26
27    header_libs: [
28        "libgps.utils_headers",
29        "libloc_pla_headers",
30    ],
31}
32
33cc_library_headers {
34
35    name: "liblocbatterylistener_headers",
36    export_include_dirs: ["."],
37}
38