This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Jiyong Park 9171299e0f vibrator: 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: I7b9055909b901843631314b9577a9e578a739d00
2022-09-13 16:09:30 +02:00

85 lines
2.1 KiB
Plaintext

Common_CFlags = ["-Wall"]
Common_CFlags += ["-Werror"]
cc_library_shared {
name: "vendor.qti.hardware.vibrator.impl.oplus",
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.oplus",
vendor: true,
relative_install_path: "hw",
init_rc: ["vendor.qti.hardware.vibrator.service.oplus.rc"],
vintf_fragments: [
"vendor.qti.hardware.vibrator.service.oplus.xml",
],
cflags: Common_CFlags,
srcs: [
"service.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
"vendor.qti.hardware.vibrator.impl.oplus",
],
}
cc_library_shared {
name: "vendor.qti.hardware.vibrator.offload.impl.oplus",
vendor: true,
cflags: Common_CFlags + ["-DTARGET_SUPPORTS_OFFLOAD"],
srcs: [
"Vibrator.cpp",
"VibratorOffload.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libqtivibratoreffect",
"libqtivibratoreffectoffload",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
],
export_include_dirs: ["include"],
}
cc_binary {
name: "vendor.qti.hardware.vibrator.offload.service.oplus",
vendor: true,
relative_install_path: "hw",
init_rc: ["vendor.qti.hardware.vibrator.offload.service.oplus.rc"],
vintf_fragments: [
"vendor.qti.hardware.vibrator.offload.service.oplus.xml",
],
cflags: Common_CFlags + ["-DTARGET_SUPPORTS_OFFLOAD"],
srcs: [
"service.cpp",
],
shared_libs: [
"libcutils",
"libutils",
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V1-ndk",
"vendor.qti.hardware.vibrator.offload.impl.oplus",
],
}