health: convert to aidl hal
* hardware/interfaces/health/aidl/default
This commit is contained in:
@@ -1,33 +1,32 @@
|
||||
// Copyright (C) 2021-2022 KonstaKANG
|
||||
// Copyright (C) 2018 The Android Open Source Project
|
||||
// Copyright (C) 2023 KonstaKANG
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.health@2.0-service.rpi",
|
||||
init_rc: ["android.hardware.health@2.0-service.rpi.rc"],
|
||||
vintf_fragments: ["android.hardware.health@2.0-service.rpi.xml"],
|
||||
proprietary: true,
|
||||
name: "android.hardware.health-service.rpi",
|
||||
relative_install_path: "hw",
|
||||
vendor: true,
|
||||
init_rc: ["android.hardware.health-service.rpi.rc"],
|
||||
vintf_fragments: ["android.hardware.health-service.rpi.xml"],
|
||||
srcs: [
|
||||
"HealthService.cpp",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"HealthImpl.cpp",
|
||||
"main.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"android.hardware.health@2.0-impl",
|
||||
"android.hardware.health@1.0-convert",
|
||||
"libhealthservice",
|
||||
"android.hardware.health-translate-ndk",
|
||||
"libbatterymonitor",
|
||||
"libhealthstoragedefault",
|
||||
"libhealthloop",
|
||||
"libhealth_aidl_impl",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.health@2.0",
|
||||
"android.hardware.health-V1-ndk",
|
||||
],
|
||||
header_libs: ["libhealthd_headers"],
|
||||
overrides: ["charger"],
|
||||
}
|
||||
|
Reference in New Issue
Block a user