1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_qcom_sm7250_gps_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 default_applicable_licenses: ["hardware_qcom_sm7250_gps_license"], 8} 9 10cc_library_static { 11 12 name: "liblocbatterylistener", 13 vendor: true, 14 15 sanitize: GNSS_SANITIZE, 16 17 cflags: GNSS_CFLAGS + ["-DBATTERY_LISTENER_ENABLED"], 18 local_include_dirs: ["."], 19 20 srcs: ["battery_listener.cpp"], 21 22 shared_libs: [ 23 "liblog", 24 "libhidlbase", 25 "libcutils", 26 "libutils", 27 "android.hardware.health@1.0", 28 "android.hardware.health@2.0", 29 "android.hardware.health@2.1", 30 "android.hardware.power@1.2", 31 "libbase", 32 ], 33 34 static_libs: ["libhealthhalutils"], 35 36 header_libs: [ 37 "libgps.utils_headers", 38 "libloc_pla_headers", 39 ], 40} 41 42cc_library_headers { 43 44 name: "liblocbatterylistener_headers", 45 export_include_dirs: ["."], 46} 47