14a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)
24a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectinclude $(CLEAR_VARS)
34a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
44a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
54a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# Compiled grammars, TCP test scripts, audio data and shell scripts #
64a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
74a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
84a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_from :=                                       \
94a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/bothtags5.tcp              \
104a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/bothtags5_from_saved.tcp   \
114a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/change_sample_rate2.tcp    \
124a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/recognize_1_live.tcp       \
134a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/recognize_10_live.tcp      \
144a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/tcp/set_get_param.tcp          \
154a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_024.nwv        \
164a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_254.nwv        \
174a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_127.nwv        \
184a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_107.nwv        \
194a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_248.nwv        \
204a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_077.nwv        \
214a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_040.nwv        \
224a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_021.nwv        \
234a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_206.nwv        \
244a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_103.nwv        \
254a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_113.nwv        \
264a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_067.nwv        \
274a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_202.nwv        \
284a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_007.nwv        \
294a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/v139/v139_189.nwv        \
304a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a12e.nwv        \
314a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a22e.nwv        \
324a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a10e.nwv        \
334a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a3fe.nwv        \
344a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a11e.nwv        \
354a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a21e.nwv        \
364a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/audio/m252/m252a24e.nwv        \
374a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S072.nwf      \
384a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S074.nwf      \
394a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S075.nwf      \
404a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S076.nwf      \
414a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S077.nwf      \
424a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S079.nwf      \
434a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S080.nwf      \
444a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S083.nwf      \
454a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S086.nwf      \
464a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0000/S088.nwf      \
474a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0300/S052.nwf      \
484a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0300/S053.nwf      \
494a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0300/S057.nwf      \
504a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0300/S063.nwf      \
514a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0300/S065.nwf      \
524a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S080.nwf      \
534a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S083.nwf      \
544a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S084.nwf      \
554a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S087.nwf      \
564a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S088.nwf      \
574a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S089.nwf      \
584a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0303/S090.nwf      \
594a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S052.nwf      \
604a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S054.nwf      \
614a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S055.nwf      \
624a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S074.nwf      \
634a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S075.nwf      \
644a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S076.nwf      \
654a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas/0304/S077.nwf      \
664a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S078.nwf \
674a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S079.nwf \
684a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S080.nwf \
694a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S082.nwf \
704a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S083.nwf \
714a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0301/S089.nwf \
724a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S051.nwf \
734a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S052.nwf \
744a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S053.nwf \
754a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S054.nwf \
764a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S065.nwf \
774a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S070.nwf \
784a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/wave/dallas-8kHz/0302/S071.nwf \
794a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-bothtags5.sh               \
804a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-bothtags5-from-saved.sh    \
814a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-change-sample-rate2.sh     \
824a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-liveaudio.sh               \
834a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-set-get-param.sh           \
844a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ../config/en.us/run-chmod.sh                   \
854a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
864a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_to := $(addprefix $(TARGET_OUT)/usr/srec/config/,$(copy_from))
874a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
884a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project$(copy_to) : $(TARGET_OUT)/usr/srec/config/% : $(LOCAL_PATH)/% | $(ACP)
894a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project	$(transform-prebuilt-to-target)
904a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
914a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
924a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
934a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# Shell scripts for UAPI tests                                      #
944a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
954a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
964a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_from_scripts :=     \
974a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_contacts.sh      \
984a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_ERT.sh           \
994a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_parameters.sh    \
1004a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_robustness1.sh   \
1014a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_robustness2.sh   \
1024a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_robustness3.sh   \
1034a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_UAPI_SrecTest.sh \
1044a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_UAPI_Test.sh     \
1054a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_voicetags1.sh    \
1064a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    run_chmod.sh         \
1074a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1084a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_to_scripts := $(addprefix $(TARGET_OUT)/usr/srec/,$(copy_from_scripts))
1094a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1104a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project$(copy_to_scripts) : $(TARGET_OUT)/usr/srec/% : $(LOCAL_PATH)/% | $(ACP)
1114a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project	$(transform-prebuilt-to-target)
1124a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1134a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1144a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
1154a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# PCM input for UAPI tests                                          #
1164a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
1174a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1184a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_from_pcm :=      \
1194a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ./pcm/yes_08k.pcm \
1204a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project    ./pcm/yes_11k.pcm \
1214a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1224a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#   ./pcm/yes_16k.pcm \
1234a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#   ./pcm/yes_22k.pcm \
1244a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1254a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectcopy_to_pcm := $(addprefix $(TARGET_OUT)/usr/srec/,$(copy_from_pcm))
1264a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1274a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project$(copy_to_pcm) : $(TARGET_OUT)/usr/srec/% : $(LOCAL_PATH)/% | $(ACP)
1284a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project	$(transform-prebuilt-to-target)
1294a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1304a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1314a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
1324a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# Run "make srec_test_files" to install the above files.            #
1334a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# By default they are not copied to /system/usr/srec since they are #
1344a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project# only required by the SREC and UAPI tests.                         #
1354a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project#####################################################################
1364a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Project
1374a68b3365c8c50aa93505e99ead2565ab73dcdb0The Android Open Source Projectsrec_test_files : $(copy_to) $(copy_to_scripts) $(copy_to_pcm) srec_grammars
138