Venkateshwarlu Domakonda | a25a778 | 2014-07-14 19:06:00 +0530 | [diff] [blame] | 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) |
AUDITYA BHATTARAM | ead5614 | 2013-11-14 22:11:02 +0530 | [diff] [blame] | 2 | ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 3 | LOCAL_PATH := $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
Venkateshwarlu Domakonda | 1c2c435 | 2014-05-26 14:35:12 +0530 | [diff] [blame] | 7 | android_hardware_fm.cpp \ |
| 8 | ConfFileParser.cpp \ |
| 9 | ConfigFmThs.cpp \ |
| 10 | FmIoctlsInterface.cpp \ |
| 11 | FmPerformanceParams.cpp |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 12 | |
Satish kumar sugasi | 644b488 | 2016-05-04 20:15:31 -0700 | [diff] [blame] | 13 | LOCAL_LDLIBS += -ldl |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 14 | LOCAL_SHARED_LIBRARIES := \ |
Satish kumar sugasi | 644b488 | 2016-05-04 20:15:31 -0700 | [diff] [blame] | 15 | libandroid_runtime \ |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 16 | libnativehelper \ |
Satish kumar sugasi | 35a19e8 | 2017-04-08 18:39:25 -0700 | [diff] [blame] | 17 | liblog \ |
Nicholas Lim | cd7d956 | 2019-10-06 10:51:12 +0800 | [diff] [blame] | 18 | libcutils |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 19 | |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 20 | LOCAL_MODULE := libqcomfm_jni |
| 21 | LOCAL_MODULE_TAGS := optional |
| 22 | |
Konsta | 4ded22e | 2015-10-20 17:55:00 +0300 | [diff] [blame] | 23 | ifeq ($(TARGET_FM_LEGACY_PATCHLOADER),true) |
| 24 | LOCAL_CFLAGS += -DFM_LEGACY_PATCHLOADER |
| 25 | endif |
| 26 | |
Ricardo Cerqueira | 0c3b4db | 2014-11-04 15:14:08 +0000 | [diff] [blame] | 27 | ifeq ($(TARGET_QCOM_NO_FM_FIRMWARE),true) |
| 28 | LOCAL_CFLAGS += -DQCOM_NO_FM_FIRMWARE |
| 29 | endif |
| 30 | |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 31 | include $(BUILD_SHARED_LIBRARY) |
Kamal Negi | fff2fb3 | 2017-08-08 13:56:19 +0530 | [diff] [blame] | 32 | |
Kamal Negi | fff2fb3 | 2017-08-08 13:56:19 +0530 | [diff] [blame] | 33 | |
Venkateshwarlu Domakonda | aa25363 | 2013-03-25 16:53:03 +0530 | [diff] [blame] | 34 | endif # is-vendor-board-platform |
Venkateshwarlu Domakonda | a25a778 | 2014-07-14 19:06:00 +0530 | [diff] [blame] | 35 | endif # BOARD_HAVE_QCOM_FM |