1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/media/webspeech/synth/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +# vim: set filetype=python: 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +if CONFIG['MOZ_WEBSPEECH']: 1.10 + 1.11 + TEST_DIRS += ['test', 'ipc/test'] 1.12 + 1.13 + XPIDL_MODULE = 'dom_webspeechsynth' 1.14 + 1.15 + XPIDL_SOURCES += [ 1.16 + 'nsIDOMSpeechSynthesisEvent.idl', 1.17 + 'nsISpeechService.idl', 1.18 + 'nsISynthVoiceRegistry.idl' 1.19 + ] 1.20 + 1.21 + EXPORTS.mozilla.dom += [ 1.22 + 'ipc/SpeechSynthesisChild.h', 1.23 + 'ipc/SpeechSynthesisParent.h', 1.24 + 'nsSpeechTask.h', 1.25 + 'nsSynthVoiceRegistry.h', 1.26 + 'SpeechSynthesis.h', 1.27 + 'SpeechSynthesisUtterance.h', 1.28 + 'SpeechSynthesisVoice.h', 1.29 + ] 1.30 + 1.31 + UNIFIED_SOURCES += [ 1.32 + 'ipc/SpeechSynthesisChild.cpp', 1.33 + 'ipc/SpeechSynthesisParent.cpp', 1.34 + 'nsSpeechTask.cpp', 1.35 + 'nsSynthVoiceRegistry.cpp', 1.36 + 'SpeechSynthesis.cpp', 1.37 + 'SpeechSynthesisUtterance.cpp', 1.38 + 'SpeechSynthesisVoice.cpp', 1.39 + ] 1.40 + 1.41 + if CONFIG['MOZ_SYNTH_PICO']: 1.42 + PARALLEL_DIRS = ['pico'] 1.43 + 1.44 +IPDL_SOURCES += [ 1.45 + 'ipc/PSpeechSynthesis.ipdl', 1.46 + 'ipc/PSpeechSynthesisRequest.ipdl', 1.47 +] 1.48 + 1.49 +FAIL_ON_WARNINGS = True 1.50 + 1.51 +include('/ipc/chromium/chromium-config.mozbuild') 1.52 + 1.53 +FINAL_LIBRARY = 'gklayout' 1.54 +LOCAL_INCLUDES += [ 1.55 + 'ipc', 1.56 +]