2013-04-03 15:13:16 -07:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
MODULE = 'content'
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom_webspeechrecognition'
|
|
|
|
|
|
|
|
XPIDL_SOURCES = [
|
2013-05-03 09:54:45 -07:00
|
|
|
'nsIDOMSpeechRecognitionEvent.idl',
|
2013-04-03 15:13:16 -07:00
|
|
|
'nsISpeechRecognitionService.idl'
|
|
|
|
]
|
|
|
|
|
|
|
|
TEST_DIRS += ['test']
|
2013-04-16 12:24:43 -07:00
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'SpeechGrammar.h',
|
|
|
|
'SpeechGrammarList.h',
|
|
|
|
'SpeechRecognition.h',
|
|
|
|
'SpeechRecognitionAlternative.h',
|
|
|
|
'SpeechRecognitionResult.h',
|
|
|
|
'SpeechRecognitionResultList.h',
|
|
|
|
'SpeechStreamListener.h',
|
2013-06-26 11:51:06 -07:00
|
|
|
'test/FakeSpeechRecognitionService.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'EnableWebSpeechRecognitionCheck.cpp',
|
|
|
|
'SpeechGrammar.cpp',
|
|
|
|
'SpeechGrammarList.cpp',
|
|
|
|
'SpeechRecognition.cpp',
|
|
|
|
'SpeechRecognitionAlternative.cpp',
|
|
|
|
'SpeechRecognitionResult.cpp',
|
|
|
|
'SpeechRecognitionResultList.cpp',
|
|
|
|
'SpeechStreamListener.cpp',
|
|
|
|
'endpointer.cc',
|
|
|
|
'energy_endpointer.cc',
|
|
|
|
'energy_endpointer_params.cc',
|
2013-09-05 17:22:09 -07:00
|
|
|
'test/FakeSpeechRecognitionService.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-15 06:02:09 -07:00
|
|
|
LIBRARY_NAME = 'gkconwebspeechrecognition_s'
|
|
|
|
|