lisa: Decommonize citsensorservice

Change-Id: If086a47845ebc06f81576aed81dad2c0d842a4d5
This commit is contained in:
FlowerSea0208 2024-10-05 14:20:29 +08:00 committed by Giovanni Ricca
parent 30256eaa55
commit 9e71df354c
No known key found for this signature in database
8 changed files with 104 additions and 0 deletions

View File

@ -2808,6 +2808,24 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.xiaomi.hardware.citsensorservice@1.1-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.citsensorservice@1.1-impl.so"],
shared_libs: ["libhidlbase", "libhidltransport", "libutils", "liblog", "libcutils", "libhardware", "libbase", "libssccalapi", "vendor.xiaomi.hardware.citsensorservice@1.0", "vendor.xiaomi.hardware.citsensorservice@1.1", "android.frameworks.sensorservice@1.0", "android.hardware.graphics.allocator@4.0", "android.hardware.graphics.mapper@4.0", "android.hardware.graphics.common@1.2", "vendor.display.config@2.0", "libqdutils", "vendor.qti.hardware.display.composer@3.0", "vendor.qti.hardware.display.allocator@4.0", "vendor.qti.hardware.display.mapper@4.0", "vendor.qti.hardware.display.mapperextensions@1.1", "libdisplayconfig.qti", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libAF",
owner: "xiaomi",
@ -5137,6 +5155,40 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.xiaomi.hardware.citsensorservice@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.0.so"],
shared_libs: ["libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.xiaomi.hardware.citsensorservice@1.1",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.1.so"],
shared_libs: ["libhidlbase", "liblog", "libutils", "libcutils", "vendor.xiaomi.hardware.citsensorservice@1.0", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
prebuilt_rfsa {
name: "capi_v2_aptX_CLHDADV_Encoder",
filename: "capi_v2_aptX_CLHDADV_Encoder.so",
@ -5497,6 +5549,15 @@ prebuilt_rfsa {
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.xiaomi.hardware.citsensorservice@1.1-service.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.xiaomi.hardware.citsensorservice@1.1-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
cc_prebuilt_binary {
name: "batterysecret",
owner: "xiaomi",
@ -5514,6 +5575,24 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.xiaomi.hardware.citsensorservice@1.1-service",
owner: "xiaomi",
target: {
android_arm64: {
srcs: ["proprietary/vendor/bin/hw/vendor.xiaomi.hardware.citsensorservice@1.1-service"],
shared_libs: ["liblog", "libcutils", "libbase", "libutils", "libssccalapi", "libhidlbase", "libhidltransport", "vendor.xiaomi.hardware.citsensorservice@1.0", "vendor.xiaomi.hardware.citsensorservice@1.1", "android.frameworks.sensorservice@1.0", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
sh_binary {
name: "init.qcom.sensors",
owner: "xiaomi",

View File

@ -97,6 +97,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/lisa/proprietary/vendor/etc/init/ipa_fws.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ipa_fws.rc \
vendor/xiaomi/lisa/proprietary/vendor/etc/init/vendor.sensors.qti.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.qti.rc \
vendor/xiaomi/lisa/proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.sensors.sscrpcd.rc \
vendor/xiaomi/lisa/proprietary/vendor/etc/init/vendor.xiaomi.hardware.citsensorservice@1.1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.citsensorservice@1.1-service.rc \
vendor/xiaomi/lisa/proprietary/vendor/etc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
vendor/xiaomi/lisa/proprietary/vendor/etc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
vendor/xiaomi/lisa/proprietary/vendor/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/libnfc-nxp_RF.conf \
@ -413,6 +414,7 @@ PRODUCT_PACKAGES += \
camera.xiaomi \
com.qti.chi.override \
fingerprint.fpc.default \
vendor.xiaomi.hardware.citsensorservice@1.1-impl \
libAF \
libFlickerDet \
libSNPE \
@ -550,6 +552,8 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.camera.postproc@1.0-service-impl \
vendor.xiaomi.hardware.campostproc@1.0-service-impl \
vendor.xiaomi.hardware.campostproc@1.0 \
vendor.xiaomi.hardware.citsensorservice@1.0 \
vendor.xiaomi.hardware.citsensorservice@1.1 \
capi_v2_aptX_CLHDADV_Encoder \
capi_v2_aptX_CLHDAD_Speech_Decoder \
libMIAIHDR_skel \
@ -590,7 +594,9 @@ PRODUCT_PACKAGES += \
misound_karaokemix_res \
misound_res_headphone \
misound_res_spk \
vendor.xiaomi.hardware.citsensorservice@1.1-service.xml \
batterysecret \
vendor.xiaomi.hardware.citsensorservice@1.1-service \
init.qcom.sensors \
sensors.qti \
sscrpcd

View File

@ -0,0 +1,8 @@
# Copyright (c) 2017 Xiaomi Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Xiaomi Technologies, Inc.
#
service citsensor-hal-1-1 /vendor/bin/hw/vendor.xiaomi.hardware.citsensorservice@1.1-service
class late_start
user system
group system input

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.xiaomi.hardware.citsensorservice</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>ICitSensorService</name>
<instance>default</instance>
</interface>
</hal>
</manifest>