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