blob: 0ea367240ab431528eff2b116d08fdf249742e99 [file] [log] [blame]
Mingming Yin486032d2013-09-26 17:22:07 -07001ifneq ($(BUILD_TINY_ANDROID),true)
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6# ---------------------------------------------------------------------------------
7# Common definitons
8# ---------------------------------------------------------------------------------
9
10libOmxAmrEnc-def := -g -O3
11libOmxAmrEnc-def += -DQC_MODIFIED
12libOmxAmrEnc-def += -D_ANDROID_
13libOmxAmrEnc-def += -D_ENABLE_QC_MSG_LOG_
14libOmxAmrEnc-def += -DVERBOSE
15libOmxAmrEnc-def += -D_DEBUG
Karthik Reddy Kattabe61caa2014-02-25 16:41:58 +053016libOmxAmrEnc-def += -Wconversion
Mingming Yin486032d2013-09-26 17:22:07 -070017libOmxAmrEnc-def += -DAUDIOV2
Mingming Yin486032d2013-09-26 17:22:07 -070018
19# ---------------------------------------------------------------------------------
20# Make the Shared library (libOmxAmrEnc)
21# ---------------------------------------------------------------------------------
22
23include $(CLEAR_VARS)
24
25libOmxAmrEnc-inc := $(LOCAL_PATH)/inc
26libOmxAmrEnc-inc += $(TARGET_OUT_HEADERS)/mm-core/omxcore
27
Naresh Tanniru10758b62017-06-05 21:05:53 +053028LOCAL_MODULE := libOmxAmrEnc
29LOCAL_MODULE_TAGS := optional
30LOCAL_VENDOR_MODULE := true
Mingming Yin486032d2013-09-26 17:22:07 -070031LOCAL_CFLAGS := $(libOmxAmrEnc-def)
32LOCAL_C_INCLUDES := $(libOmxAmrEnc-inc)
33LOCAL_PRELINK_MODULE := false
34LOCAL_SHARED_LIBRARIES := libutils liblog
35
36LOCAL_SRC_FILES := src/aenc_svr.c
37LOCAL_SRC_FILES += src/omx_amr_aenc.cpp
38
39LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
40LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
41
42include $(BUILD_SHARED_LIBRARY)
43
Mingming Yin486032d2013-09-26 17:22:07 -070044endif
45
46# ---------------------------------------------------------------------------------
47# END
48# ---------------------------------------------------------------------------------
49