2020-10-23 13:22:47 -04:00
|
|
|
cc_library_static {
|
|
|
|
|
|
|
|
name: "liblocbatterylistener",
|
|
|
|
vendor: true,
|
|
|
|
|
2023-01-20 03:02:01 -05:00
|
|
|
|
2020-10-23 13:22:47 -04:00
|
|
|
|
|
|
|
cflags: GNSS_CFLAGS + ["-DBATTERY_LISTENER_ENABLED"],
|
|
|
|
local_include_dirs: ["."],
|
|
|
|
|
|
|
|
srcs: ["battery_listener.cpp"],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
"libhidlbase",
|
|
|
|
"libcutils",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.health@1.0",
|
|
|
|
"android.hardware.health@2.0",
|
|
|
|
"android.hardware.health@2.1",
|
|
|
|
"android.hardware.power@1.2",
|
|
|
|
"libbase",
|
|
|
|
],
|
|
|
|
|
|
|
|
static_libs: ["libhealthhalutils"],
|
|
|
|
|
|
|
|
header_libs: [
|
|
|
|
"libgps.utils_headers",
|
|
|
|
"libloc_pla_headers",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_headers {
|
|
|
|
|
|
|
|
name: "liblocbatterylistener_headers",
|
|
|
|
export_include_dirs: ["."],
|
|
|
|
}
|