1// Reasonable defaults for android.hardware.health@2.0-service.<device>. 2// Vendor service can customize by implementing functions defined in 3// libhealthd and libhealthstoragedefault. 4 5 6package { 7 // See: http://go/android-license-faq 8 // A large-scale-change added 'default_applicable_licenses' to import 9 // all of the 'license_kinds' from "hardware_interfaces_license" 10 // to get the below license kinds: 11 // SPDX-license-identifier-Apache-2.0 12 default_applicable_licenses: ["hardware_interfaces_license"], 13} 14 15cc_library_static { 16 name: "libhealthservice", 17 vendor_available: true, 18 srcs: ["HealthServiceCommon.cpp"], 19 20 export_include_dirs: ["include"], 21 22 cflags: [ 23 "-Wall", 24 "-Werror", 25 ], 26 shared_libs: [ 27 "android.hardware.health@2.0", 28 ], 29 static_libs: [ 30 "android.hardware.health@2.0-impl", 31 "android.hardware.health@1.0-convert", 32 ], 33 export_static_lib_headers: [ 34 "android.hardware.health@1.0-convert", 35 ], 36 header_libs: ["libhealthd_headers"], 37 export_header_lib_headers: ["libhealthd_headers"], 38} 39