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/.
|
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
if CONFIG['MOZ_WEBSPEECH']:
|
|
|
|
MODULE = 'content'
|
2013-04-03 15:13:16 -07:00
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
TEST_DIRS += ['test', 'ipc/test']
|
2013-04-03 15:13:16 -07:00
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
XPIDL_MODULE = 'dom_webspeechsynth'
|
2013-04-03 15:13:16 -07:00
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMSpeechSynthesisEvent.idl',
|
|
|
|
'nsISpeechService.idl',
|
|
|
|
'nsISynthVoiceRegistry.idl'
|
2013-04-03 15:13:16 -07:00
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'EnableSpeechSynthesisCheck.h',
|
|
|
|
'SpeechSynthesis.h',
|
|
|
|
'SpeechSynthesisUtterance.h',
|
|
|
|
'SpeechSynthesisVoice.h',
|
|
|
|
'ipc/SpeechSynthesisChild.h',
|
|
|
|
'ipc/SpeechSynthesisParent.h',
|
|
|
|
'nsSpeechTask.h',
|
|
|
|
'nsSynthVoiceRegistry.h',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
2013-08-20 09:24:04 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'EnableSpeechSynthesisCheck.cpp',
|
|
|
|
'SpeechSynthesis.cpp',
|
|
|
|
'SpeechSynthesisChild.cpp',
|
|
|
|
'SpeechSynthesisParent.cpp',
|
|
|
|
'SpeechSynthesisUtterance.cpp',
|
|
|
|
'SpeechSynthesisVoice.cpp',
|
|
|
|
'nsSpeechTask.cpp',
|
|
|
|
'nsSynthVoiceRegistry.cpp',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-07-01 06:56:28 -07:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PSpeechSynthesis.ipdl',
|
|
|
|
'ipc/PSpeechSynthesisRequest.ipdl',
|
|
|
|
]
|
2013-08-21 23:55:59 -07:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|