From a8d076f716bca609b7e740cd888177fbc589a521 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Tue, 4 Aug 2009 16:22:51 -0700 Subject: Fix bug 2022411. Added support for TTS language files to be loaded from the system partition if they are not available on the regular path (sdcard). This involves changing the check for the availability of a language (first check in the system path, then check the sdcard), and the language switch code (try to load from the system path if cannot load from sdcard). Modified the CheckVoiceData activity (which checks for the installation of all language files) to check on both the sdcard and the system path. Added makefiles for copying language files to the system image, PicoLangDefaultInSystem.mk will be used in another CL to copy a default language to the system. --- pico/lang/PicoLangItItInSystem.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pico/lang/PicoLangItItInSystem.mk (limited to 'pico/lang/PicoLangItItInSystem.mk') diff --git a/pico/lang/PicoLangItItInSystem.mk b/pico/lang/PicoLangItItInSystem.mk new file mode 100644 index 0000000..c10cf36 --- /dev/null +++ b/pico/lang/PicoLangItItInSystem.mk @@ -0,0 +1,14 @@ +# +# Installation of it-IT for the Pico TTS engine in the system image +# +# Include this file in a product makefile to include the language files for it-IT +# +# Note the destination path matches that used in external/svox/pico/tts/com_svox_picottsengine.cpp +# + +LOCAL_PATH:= external/svox/pico/lang + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/it-IT_cm0_sg.bin:system/tts/lang_pico/it-IT_cm0_sg.bin \ + $(LOCAL_PATH)/it-IT_ta.bin:system/tts/lang_pico/it-IT_ta.bin + -- cgit v1.1