blob: d899d9c291528437e5d1bac5906418ecf6305888 [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/caf/fmradio) \
src/com/caf/fmradio/IFMRadioServiceCallbacks.aidl \
src/com/caf/fmradio/IFMRadioService.aidl \
src/com/caf/fmradio/IFMTransmitterServiceCallbacks.aidl \
src/com/caf/fmradio/IFMTransmitterService.aidl \
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 11 ))" )))
LOCAL_SRC_FILES += $(call all-java-files-under, src/com/caf/hc_utils)
else
LOCAL_SRC_FILES += $(call all-java-files-under, src/com/caf/utils)
endif
LOCAL_PACKAGE_NAME := FM2
LOCAL_CERTIFICATE := platform
LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni
LOCAL_JAVA_LIBRARIES := qcom.fmradio
include $(BUILD_PACKAGE)
endif