sm8350-common: vibrator: avoid target name conflicts

This commit is contained in:
Cosmin Tanislav 2021-09-05 14:49:50 +03:00
parent 5cf69af7fb
commit 002ef25ab4
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ Common_CFlags = ["-Wall"]
Common_CFlags += ["-Werror"] Common_CFlags += ["-Werror"]
cc_library_shared { cc_library_shared {
name: "vendor.qti.hardware.vibrator.impl", name: "vendor.qti.hardware.vibrator.impl.xiaomi_sm8350",
vendor: true, vendor: true,
cflags: Common_CFlags, cflags: Common_CFlags,
srcs: [ srcs: [
@ -20,7 +20,7 @@ cc_library_shared {
} }
cc_binary { cc_binary {
name: "vendor.qti.hardware.vibrator.service", name: "vendor.qti.hardware.vibrator.service.xiaomi_sm8350",
vendor: true, vendor: true,
relative_install_path: "hw", relative_install_path: "hw",
init_rc: ["vendor.qti.hardware.vibrator.service.rc"], init_rc: ["vendor.qti.hardware.vibrator.service.rc"],
@ -37,6 +37,6 @@ cc_binary {
"libbase", "libbase",
"libbinder_ndk", "libbinder_ndk",
"android.hardware.vibrator-ndk_platform", "android.hardware.vibrator-ndk_platform",
"vendor.qti.hardware.vibrator.impl", "vendor.qti.hardware.vibrator.impl.xiaomi_sm8350",
], ],
} }

View File

@ -1,4 +1,4 @@
service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service service vendor.qti.vibrator /vendor/bin/hw/vendor.qti.hardware.vibrator.service.xiaomi_sm8350
class hal class hal
user system user system
group system input group system input