diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2009-08-04 16:22:51 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2009-08-05 08:57:57 -0700 |
commit | a8d076f716bca609b7e740cd888177fbc589a521 (patch) | |
tree | ae314548cd0613131a3fb0bdce29366b7f20263e /pico/lang/PicoLangItItInSystem.mk | |
parent | 40a6eb8ef562424f4dc2324b50e1b00d58ec3c30 (diff) | |
download | external_svox-a8d076f716bca609b7e740cd888177fbc589a521.zip external_svox-a8d076f716bca609b7e740cd888177fbc589a521.tar.gz external_svox-a8d076f716bca609b7e740cd888177fbc589a521.tar.bz2 |
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.
Diffstat (limited to 'pico/lang/PicoLangItItInSystem.mk')
-rw-r--r-- | pico/lang/PicoLangItItInSystem.mk | 14 |
1 files changed, 14 insertions, 0 deletions
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 + |