dom/media/webspeech/recognition/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Thu, 04 Dec 2014 16:24:03 -0800
changeset 218785 b14b9b335d4e1cf2a6e6ee0af1739b49506906ac
parent 212346 277005c35f059e79bbcf07cecb1523a484eae981
child 246940 796e964c17691bcfed88d3b686fbd0a13ba8b7cd
permissions -rw-r--r--
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps

# 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/.

MOCHITEST_MANIFESTS += ['test/mochitest.ini']

XPIDL_MODULE = 'dom_webspeechrecognition'

XPIDL_SOURCES = [
  'nsISpeechRecognitionService.idl'
]

EXPORTS.mozilla.dom += [
    'SpeechGrammar.h',
    'SpeechGrammarList.h',
    'SpeechRecognition.h',
    'SpeechRecognitionAlternative.h',
    'SpeechRecognitionResult.h',
    'SpeechRecognitionResultList.h',
    'SpeechStreamListener.h',
    'test/FakeSpeechRecognitionService.h',
]

UNIFIED_SOURCES += [
    'endpointer.cc',
    'energy_endpointer.cc',
    'energy_endpointer_params.cc',
    'SpeechGrammar.cpp',
    'SpeechGrammarList.cpp',
    'SpeechRecognition.cpp',
    'SpeechRecognitionAlternative.cpp',
    'SpeechRecognitionResult.cpp',
    'SpeechRecognitionResultList.cpp',
    'SpeechStreamListener.cpp',
    'test/FakeSpeechRecognitionService.cpp',
]

LOCAL_INCLUDES += [
    '/dom/base',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True