diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in index c7a21a50b24..6f33a15413c 100644 --- a/b2g/installer/package-manifest.in +++ b/b2g/installer/package-manifest.in @@ -135,6 +135,9 @@ @RESPATH@/run-mozilla.sh #endif #endif +#ifdef MOZ_WEBSPEECH_MODELS +@BINPATH@/models/ +#endif ; [Components] @RESPATH@/components/components.manifest diff --git a/dom/media/webspeech/recognition/Makefile.in b/dom/media/webspeech/recognition/Makefile.in new file mode 100644 index 00000000000..d7220b76863 --- /dev/null +++ b/dom/media/webspeech/recognition/Makefile.in @@ -0,0 +1,16 @@ +ifdef MOZ_WEBSPEECH_MODELS +MODELSPS_KEEP_PATH := 1 + +MODELSPS_FILES := models/dict/cmu07a.dic \ + models/en-us-semi/mixture_weights \ + models/en-us-semi/feat.params \ + models/en-us-semi/mdef \ + models/en-us-semi/means \ + models/en-us-semi/noisedict \ + models/en-us-semi/sendump \ + models/en-us-semi/transition_matrices \ + models/en-us-semi/variances + +MODELSPS_DEST := $(DIST)/bin/models +INSTALL_TARGETS += MODELSPS +endif