blob: cb1f066d97abac35fcf4796362890ff226b6b666 [file] [log] [blame]
ifeq ($(BOARD_HAVE_QCOM_FM),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, src/com/codeaurora/fmradio) \
src/com/codeaurora/fmradio/IFMRadioServiceCallbacks.aidl \
src/com/codeaurora/fmradio/IFMRadioService.aidl \
src/com/codeaurora/fmradio/IFMTransmitterServiceCallbacks.aidl \
src/com/codeaurora/fmradio/IFMTransmitterService.aidl \
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 11 ))" )))
LOCAL_SRC_FILES += $(call all-java-files-under, src/com/codeaurora/hc_utils)
else
LOCAL_SRC_FILES += $(call all-java-files-under, src/com/codeaurora/utils)
endif
LOCAL_PACKAGE_NAME := FM
LOCAL_CERTIFICATE := platform
LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni
LOCAL_JAVA_LIBRARIES := qcom.fmradio
include $(BUILD_PACKAGE)
endif