android_device_xiaomi_sm725.../vibrator/Android.bp
Jiyong Park d9ad9fa6cb sm7250-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
2022-08-17 18:10:27 +03:00

43 lines
1021 B
Plaintext

Common_CFlags = ["-Wall"]
Common_CFlags += ["-Werror"]
cc_library_shared {
name: "vendor.qti.hardware.vibrator.impl.xiaomi_lito",
vendor: true,
cflags: Common_CFlags,
srcs: [
"Vibrator.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libqtivibratoreffect",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
],
export_include_dirs: ["include"]
}
cc_binary {
name: "vendor.qti.hardware.vibrator.service.xiaomi_lito",
vendor: true,
relative_install_path: "hw",
init_rc: ["vendor.qti.hardware.vibrator.service.xiaomi_lito.rc"],
vintf_fragments: [
"vendor.qti.hardware.vibrator.service.xiaomi_lito.xml",
],
cflags: Common_CFlags,
srcs: [
"service.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
"vendor.qti.hardware.vibrator.impl.xiaomi_lito",
],
}