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',
|
|
|
|
'ipc/SpeechSynthesisChild.h',
|
|
|
|
'ipc/SpeechSynthesisParent.h',
|
|
|
|
'nsSpeechTask.h',
|
|
|
|
'nsSynthVoiceRegistry.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'SpeechSynthesis.h',
|
|
|
|
'SpeechSynthesisUtterance.h',
|
|
|
|
'SpeechSynthesisVoice.h',
|
2013-08-20 09:24:04 -07:00
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
2013-11-17 18:31:46 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-08-20 09:24:04 -07:00
|
|
|
'EnableSpeechSynthesisCheck.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'ipc/SpeechSynthesisChild.cpp',
|
|
|
|
'ipc/SpeechSynthesisParent.cpp',
|
2013-08-20 09:24:04 -07:00
|
|
|
'nsSpeechTask.cpp',
|
|
|
|
'nsSynthVoiceRegistry.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'SpeechSynthesis.cpp',
|
|
|
|
'SpeechSynthesisUtterance.cpp',
|
|
|
|
'SpeechSynthesisVoice.cpp',
|
2013-08-20 09:24:04 -07:00
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-09-17 09:40:07 -07:00
|
|
|
if CONFIG['MOZ_SYNTH_PICO']:
|
|
|
|
PARALLEL_DIRS = ['pico']
|
|
|
|
|
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
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-15 06:02:09 -07:00
|
|
|
LIBRARY_NAME = 'gkconwebspeechsynth_s'
|
|
|
|
|
2013-10-03 00:11:13 -07:00
|
|
|
EXPORT_LIBRARY = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-11 00:04:06 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'ipc',
|
|
|
|
]
|