1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4##################################################################### 5# Compiled grammars, TCP test scripts, audio data and shell scripts # 6##################################################################### 7 8copy_from := \ 9 ../config/en.us/tcp/bothtags5.tcp \ 10 ../config/en.us/tcp/bothtags5_from_saved.tcp \ 11 ../config/en.us/tcp/change_sample_rate2.tcp \ 12 ../config/en.us/tcp/recognize_1_live.tcp \ 13 ../config/en.us/tcp/recognize_10_live.tcp \ 14 ../config/en.us/tcp/set_get_param.tcp \ 15 ../config/en.us/audio/v139/v139_024.nwv \ 16 ../config/en.us/audio/v139/v139_254.nwv \ 17 ../config/en.us/audio/v139/v139_127.nwv \ 18 ../config/en.us/audio/v139/v139_107.nwv \ 19 ../config/en.us/audio/v139/v139_248.nwv \ 20 ../config/en.us/audio/v139/v139_077.nwv \ 21 ../config/en.us/audio/v139/v139_040.nwv \ 22 ../config/en.us/audio/v139/v139_021.nwv \ 23 ../config/en.us/audio/v139/v139_206.nwv \ 24 ../config/en.us/audio/v139/v139_103.nwv \ 25 ../config/en.us/audio/v139/v139_113.nwv \ 26 ../config/en.us/audio/v139/v139_067.nwv \ 27 ../config/en.us/audio/v139/v139_202.nwv \ 28 ../config/en.us/audio/v139/v139_007.nwv \ 29 ../config/en.us/audio/v139/v139_189.nwv \ 30 ../config/en.us/audio/m252/m252a12e.nwv \ 31 ../config/en.us/audio/m252/m252a22e.nwv \ 32 ../config/en.us/audio/m252/m252a10e.nwv \ 33 ../config/en.us/audio/m252/m252a3fe.nwv \ 34 ../config/en.us/audio/m252/m252a11e.nwv \ 35 ../config/en.us/audio/m252/m252a21e.nwv \ 36 ../config/en.us/audio/m252/m252a24e.nwv \ 37 ../config/en.us/wave/dallas/0000/S072.nwf \ 38 ../config/en.us/wave/dallas/0000/S074.nwf \ 39 ../config/en.us/wave/dallas/0000/S075.nwf \ 40 ../config/en.us/wave/dallas/0000/S076.nwf \ 41 ../config/en.us/wave/dallas/0000/S077.nwf \ 42 ../config/en.us/wave/dallas/0000/S079.nwf \ 43 ../config/en.us/wave/dallas/0000/S080.nwf \ 44 ../config/en.us/wave/dallas/0000/S083.nwf \ 45 ../config/en.us/wave/dallas/0000/S086.nwf \ 46 ../config/en.us/wave/dallas/0000/S088.nwf \ 47 ../config/en.us/wave/dallas/0300/S052.nwf \ 48 ../config/en.us/wave/dallas/0300/S053.nwf \ 49 ../config/en.us/wave/dallas/0300/S057.nwf \ 50 ../config/en.us/wave/dallas/0300/S063.nwf \ 51 ../config/en.us/wave/dallas/0300/S065.nwf \ 52 ../config/en.us/wave/dallas/0303/S080.nwf \ 53 ../config/en.us/wave/dallas/0303/S083.nwf \ 54 ../config/en.us/wave/dallas/0303/S084.nwf \ 55 ../config/en.us/wave/dallas/0303/S087.nwf \ 56 ../config/en.us/wave/dallas/0303/S088.nwf \ 57 ../config/en.us/wave/dallas/0303/S089.nwf \ 58 ../config/en.us/wave/dallas/0303/S090.nwf \ 59 ../config/en.us/wave/dallas/0304/S052.nwf \ 60 ../config/en.us/wave/dallas/0304/S054.nwf \ 61 ../config/en.us/wave/dallas/0304/S055.nwf \ 62 ../config/en.us/wave/dallas/0304/S074.nwf \ 63 ../config/en.us/wave/dallas/0304/S075.nwf \ 64 ../config/en.us/wave/dallas/0304/S076.nwf \ 65 ../config/en.us/wave/dallas/0304/S077.nwf \ 66 ../config/en.us/wave/dallas-8kHz/0301/S078.nwf \ 67 ../config/en.us/wave/dallas-8kHz/0301/S079.nwf \ 68 ../config/en.us/wave/dallas-8kHz/0301/S080.nwf \ 69 ../config/en.us/wave/dallas-8kHz/0301/S082.nwf \ 70 ../config/en.us/wave/dallas-8kHz/0301/S083.nwf \ 71 ../config/en.us/wave/dallas-8kHz/0301/S089.nwf \ 72 ../config/en.us/wave/dallas-8kHz/0302/S051.nwf \ 73 ../config/en.us/wave/dallas-8kHz/0302/S052.nwf \ 74 ../config/en.us/wave/dallas-8kHz/0302/S053.nwf \ 75 ../config/en.us/wave/dallas-8kHz/0302/S054.nwf \ 76 ../config/en.us/wave/dallas-8kHz/0302/S065.nwf \ 77 ../config/en.us/wave/dallas-8kHz/0302/S070.nwf \ 78 ../config/en.us/wave/dallas-8kHz/0302/S071.nwf \ 79 ../config/en.us/run-bothtags5.sh \ 80 ../config/en.us/run-bothtags5-from-saved.sh \ 81 ../config/en.us/run-change-sample-rate2.sh \ 82 ../config/en.us/run-liveaudio.sh \ 83 ../config/en.us/run-set-get-param.sh \ 84 ../config/en.us/run-chmod.sh \ 85 86copy_to := $(addprefix $(TARGET_OUT)/usr/srec/config/,$(copy_from)) 87 88$(copy_to) : $(TARGET_OUT)/usr/srec/config/% : $(LOCAL_PATH)/% | $(ACP) 89 $(transform-prebuilt-to-target) 90 91 92##################################################################### 93# Shell scripts for UAPI tests # 94##################################################################### 95 96copy_from_scripts := \ 97 run_contacts.sh \ 98 run_ERT.sh \ 99 run_parameters.sh \ 100 run_robustness1.sh \ 101 run_robustness2.sh \ 102 run_robustness3.sh \ 103 run_UAPI_SrecTest.sh \ 104 run_UAPI_Test.sh \ 105 run_voicetags1.sh \ 106 run_chmod.sh \ 107 108copy_to_scripts := $(addprefix $(TARGET_OUT)/usr/srec/,$(copy_from_scripts)) 109 110$(copy_to_scripts) : $(TARGET_OUT)/usr/srec/% : $(LOCAL_PATH)/% | $(ACP) 111 $(transform-prebuilt-to-target) 112 113 114##################################################################### 115# PCM input for UAPI tests # 116##################################################################### 117 118copy_from_pcm := \ 119 ./pcm/yes_08k.pcm \ 120 ./pcm/yes_11k.pcm \ 121 122# ./pcm/yes_16k.pcm \ 123# ./pcm/yes_22k.pcm \ 124 125copy_to_pcm := $(addprefix $(TARGET_OUT)/usr/srec/,$(copy_from_pcm)) 126 127$(copy_to_pcm) : $(TARGET_OUT)/usr/srec/% : $(LOCAL_PATH)/% | $(ACP) 128 $(transform-prebuilt-to-target) 129 130 131##################################################################### 132# Run "make srec_test_files" to install the above files. # 133# By default they are not copied to /system/usr/srec since they are # 134# only required by the SREC and UAPI tests. # 135##################################################################### 136 137srec_test_files : $(copy_to) $(copy_to_scripts) $(copy_to_pcm) srec_grammars 138