Compile nfc 1.1

This commit is contained in:
ivanmeler 2023-05-09 19:35:35 +00:00
parent 4e214ba975
commit 5e343e3891
2 changed files with 24 additions and 2 deletions

View file

@ -146,6 +146,15 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>INfc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.renderscript</name> <name>android.hardware.renderscript</name>
<transport arch="32+64">passthrough</transport> <transport arch="32+64">passthrough</transport>

View file

@ -287,11 +287,24 @@ PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor \ android.system.net.netd@1.1.vendor \
libandroid_net libandroid_net
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.1-service \
com.android.nfc_extras \
NfcNci \
Tag
# Nfc # Nfc
PRODUCT_COPY_FILES PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \ $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
$(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
# OMX # OMX
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libc2dcolorconvert \ libc2dcolorconvert \