Andreas Huber | d49b526dd | 2009-12-11 15:07:25 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES := \ |
| 5 | AMRNBEncoder.cpp \ |
| 6 | src/amrencode.cpp \ |
| 7 | src/autocorr.cpp \ |
| 8 | src/c1035pf.cpp \ |
| 9 | src/c2_11pf.cpp \ |
| 10 | src/c2_9pf.cpp \ |
| 11 | src/c3_14pf.cpp \ |
| 12 | src/c4_17pf.cpp \ |
| 13 | src/c8_31pf.cpp \ |
| 14 | src/calc_cor.cpp \ |
| 15 | src/calc_en.cpp \ |
| 16 | src/cbsearch.cpp \ |
| 17 | src/cl_ltp.cpp \ |
| 18 | src/cod_amr.cpp \ |
| 19 | src/convolve.cpp \ |
| 20 | src/cor_h.cpp \ |
| 21 | src/cor_h_x.cpp \ |
| 22 | src/cor_h_x2.cpp \ |
| 23 | src/corrwght_tab.cpp \ |
| 24 | src/dtx_enc.cpp \ |
| 25 | src/enc_lag3.cpp \ |
| 26 | src/enc_lag6.cpp \ |
| 27 | src/enc_output_format_tab.cpp \ |
| 28 | src/ets_to_if2.cpp \ |
| 29 | src/ets_to_wmf.cpp \ |
| 30 | src/g_adapt.cpp \ |
| 31 | src/g_code.cpp \ |
| 32 | src/g_pitch.cpp \ |
| 33 | src/gain_q.cpp \ |
| 34 | src/hp_max.cpp \ |
| 35 | src/inter_36.cpp \ |
| 36 | src/inter_36_tab.cpp \ |
| 37 | src/l_comp.cpp \ |
| 38 | src/l_extract.cpp \ |
| 39 | src/l_negate.cpp \ |
| 40 | src/lag_wind.cpp \ |
| 41 | src/lag_wind_tab.cpp \ |
| 42 | src/levinson.cpp \ |
| 43 | src/lpc.cpp \ |
| 44 | src/ol_ltp.cpp \ |
| 45 | src/p_ol_wgh.cpp \ |
| 46 | src/pitch_fr.cpp \ |
| 47 | src/pitch_ol.cpp \ |
| 48 | src/pre_big.cpp \ |
| 49 | src/pre_proc.cpp \ |
| 50 | src/prm2bits.cpp \ |
| 51 | src/q_gain_c.cpp \ |
| 52 | src/q_gain_p.cpp \ |
| 53 | src/qgain475.cpp \ |
| 54 | src/qgain795.cpp \ |
| 55 | src/qua_gain.cpp \ |
| 56 | src/s10_8pf.cpp \ |
| 57 | src/set_sign.cpp \ |
| 58 | src/sid_sync.cpp \ |
| 59 | src/sp_enc.cpp \ |
| 60 | src/spreproc.cpp \ |
| 61 | src/spstproc.cpp \ |
| 62 | src/ton_stab.cpp |
| 63 | |
| 64 | LOCAL_C_INCLUDES := \ |
| 65 | frameworks/base/media/libstagefright/include \ |
| 66 | $(LOCAL_PATH)/src \ |
| 67 | $(LOCAL_PATH)/include \ |
| 68 | $(LOCAL_PATH)/../common/include \ |
| 69 | $(LOCAL_PATH)/../common |
| 70 | |
| 71 | LOCAL_CFLAGS := \ |
| 72 | -DOSCL_UNUSED_ARG= |
| 73 | |
| 74 | LOCAL_MODULE := libstagefright_amrnbenc |
| 75 | |
| 76 | include $(BUILD_STATIC_LIBRARY) |
Andreas Huber | 9dd295a | 2012-01-31 14:34:59 -0800 | [diff] [blame] | 77 | |
| 78 | ################################################################################ |
| 79 | |
| 80 | include $(CLEAR_VARS) |
| 81 | |
| 82 | LOCAL_SRC_FILES := \ |
| 83 | SoftAMRNBEncoder.cpp |
| 84 | |
| 85 | LOCAL_C_INCLUDES := \ |
| 86 | frameworks/base/media/libstagefright/include \ |
| 87 | frameworks/base/include/media/stagefright/openmax \ |
| 88 | $(LOCAL_PATH)/src \ |
| 89 | $(LOCAL_PATH)/include \ |
| 90 | $(LOCAL_PATH)/../common/include \ |
| 91 | $(LOCAL_PATH)/../common |
| 92 | |
| 93 | LOCAL_STATIC_LIBRARIES := \ |
| 94 | libstagefright_amrnbenc |
| 95 | |
| 96 | LOCAL_SHARED_LIBRARIES := \ |
| 97 | libstagefright_omx libstagefright_foundation libutils \ |
| 98 | libstagefright_amrnb_common |
| 99 | |
| 100 | LOCAL_MODULE := libstagefright_soft_amrnbenc |
| 101 | LOCAL_MODULE_TAGS := optional |
| 102 | |
| 103 | include $(BUILD_SHARED_LIBRARY) |