exynos9610: build nfc packages
authorJan Altensen <info@stricted.net>
Tue, 28 Apr 2020 15:36:24 +0000 (17:36 +0200)
committerJan Altensen <info@stricted.net>
Mon, 7 Dec 2020 07:22:54 +0000 (08:22 +0100)
Change-Id: I1577cb9e1c5ef60c9b0acb65b85b6bd8002c69f1

common.mk

index dc3e976b05776e39db6d157fb3f91affe6eb4a58..fd37f64601cea5bb45cccd04f0f14e48abd1bd9f 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -61,3 +61,16 @@ PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
 # HotwordEnrollement
 PRODUCT_COPY_FILES += \
     $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:system/etc/permissions/privapp-permissions-hotword.xml
+
+# NFC
+PRODUCT_PACKAGES += \
+    NfcNci \
+    Tag \
+    SecureElement \
+    com.android.nfc_extras
+
+# Permissions
+PRODUCT_COPY_FILES += \
+    frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
+    frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
+    frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hcef.xml