light: convert to aidl hal

* hardware/interfaces/light/aidl/default
This commit is contained in:
Konsta
2023-07-28 16:33:53 +03:00
parent 18cc1bd154
commit cc4df73839
12 changed files with 156 additions and 242 deletions

View File

@@ -1,24 +1,21 @@
// Copyright (C) 2018 The LineageOS Project
// Copyright (C) 2021-2022 KonstaKANG
// Copyright (C) 2020 The Android Open Source Project
// Copyright (C) 2023 KonstaKANG
//
// SPDX-License-Identifier: Apache-2.0
cc_binary {
name: "android.hardware.light@2.0-service.rpi",
init_rc: ["android.hardware.light@2.0-service.rpi.rc"],
vintf_fragments: ["android.hardware.light@2.0-service.rpi.xml"],
proprietary: true,
name: "android.hardware.light-service.rpi",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.light-service.rpi.rc"],
vintf_fragments: ["android.hardware.light-service.rpi.xml"],
srcs: [
"Light.cpp",
"service.cpp",
"Lights.cpp",
"main.cpp",
],
shared_libs: [
"libbase",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"android.hardware.light@2.0",
"libbinder_ndk",
"android.hardware.light-V2-ndk",
],
}