Bug 1051146 - Part 6: Introduce build integration of new English model. r=smaug, r=gps
authorKelly Davis <kdavis@mozilla.com>
Thu, 28 May 2015 07:24:00 -0400
changeset 247011 df42f0f5963abb5caf5b354b53bf2c74d47ecc93
parent 247010 844f87b9c201b0ebc475a9b2a782da8deafab7ba
child 247012 efe257c2ba148e29ea4d321594b87307fbc45301
push id28848
push userryanvm@gmail.com
push dateWed, 03 Jun 2015 20:00:13 +0000
treeherdermozilla-central@0920f2325a6d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, gps
bugs1051146
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1051146 - Part 6: Introduce build integration of new English model. r=smaug, r=gps
b2g/installer/package-manifest.in
dom/media/webspeech/recognition/Makefile.in
--- a/b2g/installer/package-manifest.in
+++ b/b2g/installer/package-manifest.in
@@ -130,16 +130,19 @@
 #endif
 @RESPATH@/blocklist.xml
 @RESPATH@/ua-update.json
 #ifdef XP_UNIX
 #ifndef XP_MACOSX
 @RESPATH@/run-mozilla.sh
 #endif
 #endif
+#ifdef MOZ_WEBSPEECH_MODELS
+@BINPATH@/models/
+#endif
 
 ; [Components]
 @RESPATH@/components/components.manifest
 @RESPATH@/components/alerts.xpt
 #ifdef ACCESSIBILITY
 #ifdef XP_WIN32
 @BINPATH@/AccessibleMarshal.dll
 #endif
new file mode 100644
--- /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