android_device_xiaomi_sdm66.../light/Android.bp
Jiyong Park 993729bb9b sdm660-common: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-13 06:56:45 +02:00

38 lines
1 KiB
Text

//
// SPDX-License-Identifier: Apache-2.0
//
cc_binary {
defaults: ["hidl_defaults"],
name: "android.hardware.light@2.0-service.xiaomi_sdm660",
init_rc: ["hidl/android.hardware.light@2.0-service.xiaomi_sdm660.rc"],
vintf_fragments: ["hidl/android.hardware.light@2.0-service.xiaomi_sdm660.xml"],
srcs: ["hidl/service.cpp", "hidl/Light.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"libutils",
"android.hardware.light@2.0",
],
relative_install_path : "hw",
vendor: true,
}
cc_binary {
name: "android.hardware.lights-service.xiaomi_sdm660",
relative_install_path: "hw",
init_rc: ["aidl/android.hardware.lights.xiaomi_sdm660.rc"],
vintf_fragments: ["aidl/android.hardware.lights.xiaomi_sdm660.xml"],
vendor: true,
shared_libs: [
"libbase",
"liblog",
"libhardware",
"libbinder_ndk",
"android.hardware.light-V1-ndk",
],
srcs: [
"aidl/Lights.cpp",
"aidl/main.cpp",
],
}