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