| ifeq ($(BOARD_HAVE_QCOM_FM),true) |
| ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) |
| LOCAL_PATH := $(call my-dir) |
| android_hardware_fm.cpp \ |
| ifeq ($(BOARD_HAS_QCA_FM_SOC), "cherokee") |
| LOCAL_CFLAGS += -DFM_SOC_TYPE_CHEROKEE |
| LOCAL_SHARED_LIBRARIES := \ |
| LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| LOCAL_MODULE := libqcomfm_jni |
| LOCAL_MODULE_TAGS := optional |
| include $(BUILD_SHARED_LIBRARY) |
| endif # is-vendor-board-platform |
| endif # BOARD_HAVE_QCOM_FM |