Skip to content

Commit

Permalink
enabled NFC support
Browse files Browse the repository at this point in the history
  • Loading branch information
dferg committed Apr 15, 2012
1 parent 8272819 commit 9d49cce
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions BoardConfigCommon.mk
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions common-proprietary-files.txt
Expand Up @@ -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

Expand Down
12 changes: 11 additions & 1 deletion msm8660.mk
Expand Up @@ -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 += \
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 9d49cce

Please sign in to comment.