Permalink
Browse files

enabled NFC support

  • Loading branch information...
1 parent 8272819 commit 9d49cce2a2b37878de75da87525c6d474ffd2abc @dferg dferg committed Apr 15, 2012
Showing with 17 additions and 1 deletion.
  1. +3 −0 BoardConfigCommon.mk
  2. +3 −0 common-proprietary-files.txt
  3. +11 −1 msm8660.mk
View
3 BoardConfigCommon.mk
@@ -59,6 +59,9 @@ WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wifi/bcm4330_sta.bin n
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
+# NFC
+BOARD_HAVE_NFC := true
+
# QCOM hardware
BOARD_USES_QCOM_HARDWARE := true
BOARD_USES_QCOM_GPS := true
View
3 common-proprietary-files.txt
@@ -89,6 +89,9 @@ lib/hw/sensors.default.so
# Lights
lib/hw/lights.msm8660.so
+# NFC
+lib/hw/nfc.qcom.so
+
# Bluetooh
bin/brcm_patchram_plus
View
12 msm8660.mk
@@ -28,7 +28,9 @@ PRODUCT_COPY_FILES += \
frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
- frameworks/base/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml
+ frameworks/base/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
+ frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
+ frameworks/base/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml
# EGL config
PRODUCT_COPY_FILES += \
@@ -56,6 +58,14 @@ PRODUCT_PACKAGES += \
audio.primary.msm8660 \
libaudioutils
+# NFC Support
+PRODUCT_PACKAGES += \
+ libnfc \
+ libnfc_jni \
+ Nfc \
+ Tag \
+ com.android.nfc_extras
+
# Omx
PRODUCT_PACKAGES += \
libdivxdrmdecrypt \

0 comments on commit 9d49cce

Please sign in to comment.