1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES := \ 5 src/a_refl.cpp \ 6 src/agc.cpp \ 7 src/amrdecode.cpp \ 8 src/b_cn_cod.cpp \ 9 src/bgnscd.cpp \ 10 src/c_g_aver.cpp \ 11 src/d1035pf.cpp \ 12 src/d2_11pf.cpp \ 13 src/d2_9pf.cpp \ 14 src/d3_14pf.cpp \ 15 src/d4_17pf.cpp \ 16 src/d8_31pf.cpp \ 17 src/d_gain_c.cpp \ 18 src/d_gain_p.cpp \ 19 src/d_plsf.cpp \ 20 src/d_plsf_3.cpp \ 21 src/d_plsf_5.cpp \ 22 src/dec_amr.cpp \ 23 src/dec_gain.cpp \ 24 src/dec_input_format_tab.cpp \ 25 src/dec_lag3.cpp \ 26 src/dec_lag6.cpp \ 27 src/dtx_dec.cpp \ 28 src/ec_gains.cpp \ 29 src/ex_ctrl.cpp \ 30 src/if2_to_ets.cpp \ 31 src/int_lsf.cpp \ 32 src/lsp_avg.cpp \ 33 src/ph_disp.cpp \ 34 src/post_pro.cpp \ 35 src/preemph.cpp \ 36 src/pstfilt.cpp \ 37 src/qgain475_tab.cpp \ 38 src/sp_dec.cpp \ 39 src/wmf_to_ets.cpp 40 41 LOCAL_C_INCLUDES := \ 42 frameworks/av/media/libstagefright/include \ 43 $(LOCAL_PATH)/src \ 44 $(LOCAL_PATH)/include \ 45 $(LOCAL_PATH)/../common/include 46 47 LOCAL_CFLAGS := \ 48 -DOSCL_UNUSED_ARG= -DOSCL_IMPORT_REF= 49 50 LOCAL_CFLAGS += -Werror 51 52 LOCAL_MODULE := libstagefright_amrnbdec 53 54 include $(BUILD_STATIC_LIBRARY) 55 56 ################################################################################ 57 58 include $(CLEAR_VARS) 59 60 LOCAL_SRC_FILES := \ 61 SoftAMR.cpp 62 63 LOCAL_C_INCLUDES := \ 64 frameworks/av/media/libstagefright/include \ 65 frameworks/av/media/libstagefright/codecs/amrwb/src \ 66 frameworks/native/include/media/openmax \ 67 $(LOCAL_PATH)/src \ 68 $(LOCAL_PATH)/include \ 69 $(LOCAL_PATH)/../common/include \ 70 71 LOCAL_CFLAGS := -DOSCL_IMPORT_REF= 72 73 LOCAL_CFLAGS += -Werror 74 75 LOCAL_STATIC_LIBRARIES := \ 76 libstagefright_amrnbdec libstagefright_amrwbdec 77 78 LOCAL_SHARED_LIBRARIES := \ 79 libstagefright_omx libstagefright_foundation libutils liblog \ 80 libstagefright_amrnb_common 81 82 LOCAL_MODULE := libstagefright_soft_amrdec 83 LOCAL_MODULE_TAGS := optional 84 85 include $(BUILD_SHARED_LIBRARY) 86