flounder: add nfc packages and permissions
Add the nfc packages to PRODUCT_PACKAGES and the nfc permissions
files to PRODUCT_COPY_FILES.
Change-Id: Ia5222e7c570cc95920beaa578208da32b0f9deb9
diff --git a/device.mk b/device.mk
index 6221893..ee37a69 100644
--- a/device.mk
+++ b/device.mk
@@ -61,7 +61,10 @@
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
- frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml
+ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
+ frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
+ 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
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media_codecs.xml:system/etc/media_codecs.xml \
@@ -92,6 +95,12 @@
PRODUCT_TAGS += dalvik.gc.type-precise
+# NFC packages
+PRODUCT_PACKAGES += \
+ NfcNci \
+ Tag \
+ com.android.nfc_extras
+
PRODUCT_PACKAGES += \
librs_jni \
com.android.future.usb.accessory