summaryrefslogtreecommitdiffstats
path: root/dom/media/webspeech
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 18:53:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-22 18:53:58 +0000
commit54e4a32da5ed7cbe25901038678c3baf111eb1a2 (patch)
treeed08b490d9e75f2ff8a148b26309858eaa74a02c /dom/media/webspeech
parent347f3bae7319cf7be6556cefae219b5fbe326ec8 (diff)
downloadUXP-54e4a32da5ed7cbe25901038678c3baf111eb1a2.tar
UXP-54e4a32da5ed7cbe25901038678c3baf111eb1a2.tar.gz
UXP-54e4a32da5ed7cbe25901038678c3baf111eb1a2.tar.lz
UXP-54e4a32da5ed7cbe25901038678c3baf111eb1a2.tar.xz
UXP-54e4a32da5ed7cbe25901038678c3baf111eb1a2.zip
Issue #80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use: MediaTrackConstraints.cpp/h MediaEngineCameraVideoSource.cpp and MediaEngineRemoteVideoSource.cpp
Diffstat (limited to 'dom/media/webspeech')
-rw-r--r--dom/media/webspeech/recognition/SpeechGrammarList.cpp1
-rw-r--r--dom/media/webspeech/recognition/SpeechGrammarList.h1
-rw-r--r--dom/media/webspeech/recognition/SpeechRecognition.cpp1
-rw-r--r--dom/media/webspeech/recognition/moz.build6
-rw-r--r--dom/media/webspeech/synth/moz.build4
-rw-r--r--dom/media/webspeech/synth/pico/moz.build2
-rw-r--r--dom/media/webspeech/synth/speechd/moz.build2
-rw-r--r--dom/media/webspeech/synth/windows/moz.build2
8 files changed, 11 insertions, 8 deletions
diff --git a/dom/media/webspeech/recognition/SpeechGrammarList.cpp b/dom/media/webspeech/recognition/SpeechGrammarList.cpp
index d4883378f..925e591aa 100644
--- a/dom/media/webspeech/recognition/SpeechGrammarList.cpp
+++ b/dom/media/webspeech/recognition/SpeechGrammarList.cpp
@@ -10,6 +10,7 @@
#include "mozilla/ErrorResult.h"
#include "nsCOMPtr.h"
#include "nsXPCOMStrings.h"
+#include "SpeechGrammar.h"
#include "SpeechRecognition.h"
namespace mozilla {
diff --git a/dom/media/webspeech/recognition/SpeechGrammarList.h b/dom/media/webspeech/recognition/SpeechGrammarList.h
index dbe7117fe..32c0ddbdd 100644
--- a/dom/media/webspeech/recognition/SpeechGrammarList.h
+++ b/dom/media/webspeech/recognition/SpeechGrammarList.h
@@ -9,6 +9,7 @@
#include "mozilla/Attributes.h"
#include "nsCOMPtr.h"
+#include "nsTArray.h"
#include "nsCycleCollectionParticipant.h"
#include "nsWrapperCache.h"
diff --git a/dom/media/webspeech/recognition/SpeechRecognition.cpp b/dom/media/webspeech/recognition/SpeechRecognition.cpp
index 48b1177b2..cd57f03ca 100644
--- a/dom/media/webspeech/recognition/SpeechRecognition.cpp
+++ b/dom/media/webspeech/recognition/SpeechRecognition.cpp
@@ -22,6 +22,7 @@
#include "AudioSegment.h"
#include "endpointer.h"
+#include "SpeechGrammar.h"
#include "mozilla/dom/SpeechRecognitionEvent.h"
#include "nsContentUtils.h"
#include "nsIDocument.h"
diff --git a/dom/media/webspeech/recognition/moz.build b/dom/media/webspeech/recognition/moz.build
index 0a26021b0..c296cd40d 100644
--- a/dom/media/webspeech/recognition/moz.build
+++ b/dom/media/webspeech/recognition/moz.build
@@ -31,7 +31,7 @@ if CONFIG['MOZ_WEBSPEECH_POCKETSPHINX']:
'PocketSphinxSpeechRecognitionService.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'endpointer.cc',
'energy_endpointer.cc',
'energy_endpointer_params.cc',
@@ -45,12 +45,12 @@ UNIFIED_SOURCES += [
]
if CONFIG['MOZ_WEBSPEECH_TEST_BACKEND']:
- UNIFIED_SOURCES += [
+ SOURCES += [
'test/FakeSpeechRecognitionService.cpp',
]
if CONFIG['MOZ_WEBSPEECH_POCKETSPHINX']:
- UNIFIED_SOURCES += [
+ SOURCES += [
'PocketSphinxSpeechRecognitionService.cpp',
]
diff --git a/dom/media/webspeech/synth/moz.build b/dom/media/webspeech/synth/moz.build
index bb26515af..7b8c4cd31 100644
--- a/dom/media/webspeech/synth/moz.build
+++ b/dom/media/webspeech/synth/moz.build
@@ -26,7 +26,7 @@ if CONFIG['MOZ_WEBSPEECH']:
'SpeechSynthesisVoice.h',
]
- UNIFIED_SOURCES += [
+ SOURCES += [
'ipc/SpeechSynthesisChild.cpp',
'ipc/SpeechSynthesisParent.cpp',
'nsSpeechTask.cpp',
@@ -37,7 +37,7 @@ if CONFIG['MOZ_WEBSPEECH']:
]
if CONFIG['MOZ_WEBSPEECH_TEST_BACKEND']:
- UNIFIED_SOURCES += [
+ SOURCES += [
'test/FakeSynthModule.cpp',
'test/nsFakeSynthServices.cpp'
]
diff --git a/dom/media/webspeech/synth/pico/moz.build b/dom/media/webspeech/synth/pico/moz.build
index 01ef30450..8c360bc85 100644
--- a/dom/media/webspeech/synth/pico/moz.build
+++ b/dom/media/webspeech/synth/pico/moz.build
@@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-UNIFIED_SOURCES += [
+SOURCES += [
'nsPicoService.cpp',
'PicoModule.cpp'
]
diff --git a/dom/media/webspeech/synth/speechd/moz.build b/dom/media/webspeech/synth/speechd/moz.build
index 51d675c10..552ccf856 100644
--- a/dom/media/webspeech/synth/speechd/moz.build
+++ b/dom/media/webspeech/synth/speechd/moz.build
@@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-UNIFIED_SOURCES += [
+SOURCES += [
'SpeechDispatcherModule.cpp',
'SpeechDispatcherService.cpp'
]
diff --git a/dom/media/webspeech/synth/windows/moz.build b/dom/media/webspeech/synth/windows/moz.build
index f0ff9f2c9..2ab20c05a 100644
--- a/dom/media/webspeech/synth/windows/moz.build
+++ b/dom/media/webspeech/synth/windows/moz.build
@@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-UNIFIED_SOURCES += [
+SOURCES += [
'SapiModule.cpp',
'SapiService.cpp'
]