Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 1 | ifneq ($(BUILD_TINY_ANDROID),true) |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | # --------------------------------------------------------------------------------- |
| 7 | # Common definitons |
| 8 | # --------------------------------------------------------------------------------- |
| 9 | |
| 10 | libOmxEvrcEnc-def := -g -O3 |
| 11 | libOmxEvrcEnc-def += -DQC_MODIFIED |
| 12 | libOmxEvrcEnc-def += -D_ANDROID_ |
| 13 | libOmxEvrcEnc-def += -D_ENABLE_QC_MSG_LOG_ |
| 14 | libOmxEvrcEnc-def += -DVERBOSE |
| 15 | libOmxEvrcEnc-def += -D_DEBUG |
Karthik Reddy Katta | be61caa | 2014-02-25 16:41:58 +0530 | [diff] [blame] | 16 | libOmxEvrcEnc-def += -Wconversion |
Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 17 | libOmxEvrcEnc-def += -DAUDIOV2 |
Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 18 | |
| 19 | # --------------------------------------------------------------------------------- |
| 20 | # Make the Shared library (libOmxEvrcEnc) |
| 21 | # --------------------------------------------------------------------------------- |
| 22 | |
| 23 | include $(CLEAR_VARS) |
| 24 | |
| 25 | libOmxEvrcEnc-inc := $(LOCAL_PATH)/inc |
| 26 | libOmxEvrcEnc-inc += $(TARGET_OUT_HEADERS)/mm-core/omxcore |
| 27 | |
Naresh Tanniru | a717d88 | 2017-06-14 04:46:39 -0700 | [diff] [blame^] | 28 | LOCAL_MODULE := libOmxEvrcEnc |
| 29 | LOCAL_MODULE_TAGS := optional |
Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 30 | LOCAL_CFLAGS := $(libOmxEvrcEnc-def) |
| 31 | LOCAL_C_INCLUDES := $(libOmxEvrcEnc-inc) |
| 32 | LOCAL_PRELINK_MODULE := false |
| 33 | LOCAL_SHARED_LIBRARIES := libutils liblog |
| 34 | |
| 35 | LOCAL_SRC_FILES := src/aenc_svr.c |
| 36 | LOCAL_SRC_FILES += src/omx_evrc_aenc.cpp |
| 37 | |
| 38 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 39 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 40 | |
| 41 | include $(BUILD_SHARED_LIBRARY) |
| 42 | |
Mingming Yin | 486032d | 2013-09-26 17:22:07 -0700 | [diff] [blame] | 43 | endif |
| 44 | |
| 45 | # --------------------------------------------------------------------------------- |
| 46 | # END |
| 47 | # --------------------------------------------------------------------------------- |
| 48 | |