Issue #80 - De-unify dom/media part 3

Excluding /dom/media/webrtc for bad template use:
MediaTrackConstraints.cpp/h
MediaEngineCameraVideoSource.cpp and
MediaEngineRemoteVideoSource.cpp
This commit is contained in:
Moonchild 2020-04-22 18:53:58 +00:00 • committed by Roy Tam
commit 5d8031cf76
25 changed files with 43 additions and 14 deletions

View file

@ -10,6 +10,7 @@
#include "mozilla/ErrorResult.h"
#include "nsCOMPtr.h"
#include "nsXPCOMStrings.h"
#include "SpeechGrammar.h"
#include "SpeechRecognition.h"
namespace mozilla {

View file

@ -9,6 +9,7 @@
#include "mozilla/Attributes.h"
#include "nsCOMPtr.h"
#include "nsTArray.h"
#include "nsCycleCollectionParticipant.h"
#include "nsWrapperCache.h"

View file

@ -22,6 +22,7 @@
#include "AudioSegment.h"
#include "endpointer.h"
#include "SpeechGrammar.h"
#include "mozilla/dom/SpeechRecognitionEvent.h"
#include "nsContentUtils.h"
#include "nsIDocument.h"

View file

@ -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',
]

View file

@ -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'
]

View file

@ -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'
]

View file

@ -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'
]

View file

@ -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'
]