From a7adc6147573c296df8d3e8d28f684ecb682ba1c Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Wed, 3 Sep 2014 13:57:49 +0200 Subject: shinano: Add ANT+ support * Add ANT+ permission, framework library, support libraries. Change-Id: I46d3c50d995458c2c951bc7548f3813b19fded55 --- BoardConfigCommon.mk | 3 +++ shinano.mk | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index d90f42e..ea5848b 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -56,6 +56,9 @@ TARGET_QCOM_AUDIO_VARIANT := caf TARGET_QCOM_DISPLAY_VARIANT := caf-new TARGET_QCOM_MEDIA_VARIANT := caf-new +# ANT+ +BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease" + # Audio BOARD_USES_ALSA_AUDIO := true AUDIO_FEATURE_DISABLED_USBAUDIO := true diff --git a/shinano.mk b/shinano.mk index 2dbf238..6585c45 100644 --- a/shinano.mk +++ b/shinano.mk @@ -23,6 +23,7 @@ DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay # Permissions PRODUCT_COPY_FILES += \ + external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.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.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ @@ -55,6 +56,12 @@ PRODUCT_COPY_FILES += \ $(COMMON_PATH)/rootdir/sbin/wait4tad_static:root/sbin/wait4tad_static \ $(COMMON_PATH)/rootdir/sbin/tad_static:root/sbin/tad_static +# ANT+ +PRODUCT_PACKAGES += \ + AntHalService \ + com.dsi.ant.antradio_library \ + libantradio + # Audio PRODUCT_PACKAGES += \ audio.primary.msm8974 \ -- cgit v1.2.3