2021-09-05 07:44:13 -04:00
|
|
|
Common_CFlags = ["-Wall"]
|
|
|
|
Common_CFlags += ["-Werror"]
|
|
|
|
|
|
|
|
cc_library_shared {
|
2021-09-05 07:49:50 -04:00
|
|
|
name: "vendor.qti.hardware.vibrator.impl.xiaomi_sm8350",
|
2021-09-05 07:44:13 -04:00
|
|
|
vendor: true,
|
|
|
|
cflags: Common_CFlags,
|
|
|
|
srcs: [
|
|
|
|
"Vibrator.cpp",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"libutils",
|
|
|
|
"liblog",
|
|
|
|
"libbinder_ndk",
|
|
|
|
"android.hardware.vibrator-ndk_platform",
|
|
|
|
],
|
|
|
|
export_include_dirs: ["include"]
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_binary {
|
2021-09-05 07:49:50 -04:00
|
|
|
name: "vendor.qti.hardware.vibrator.service.xiaomi_sm8350",
|
2021-09-05 07:44:13 -04:00
|
|
|
vendor: true,
|
|
|
|
relative_install_path: "hw",
|
|
|
|
init_rc: ["vendor.qti.hardware.vibrator.service.rc"],
|
|
|
|
vintf_fragments: [
|
|
|
|
"vendor.qti.hardware.vibrator.service.xml",
|
|
|
|
],
|
|
|
|
cflags: Common_CFlags,
|
|
|
|
srcs: [
|
|
|
|
"service.cpp",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"libutils",
|
|
|
|
"libbase",
|
|
|
|
"libbinder_ndk",
|
|
|
|
"android.hardware.vibrator-ndk_platform",
|
2021-09-05 07:49:50 -04:00
|
|
|
"vendor.qti.hardware.vibrator.impl.xiaomi_sm8350",
|
2021-09-05 07:44:13 -04:00
|
|
|
],
|
|
|
|
}
|