Bug 1943761 - Add class alignment to the mozsearch analysis file. r=asuth
[gecko.git] / dom / media / webspeech / recognition / moz.build
blob89de4fcbbe0aae471899b4557a12f213f2a44d55
1 # vim: set filetype=python:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
8 XPIDL_MODULE = "dom_webspeechrecognition"
10 XPIDL_SOURCES = ["nsISpeechRecognitionService.idl"]
12 EXPORTS.mozilla.dom += [
13     "OnlineSpeechRecognitionService.h",
14     "SpeechGrammar.h",
15     "SpeechGrammarList.h",
16     "SpeechRecognition.h",
17     "SpeechRecognitionAlternative.h",
18     "SpeechRecognitionResult.h",
19     "SpeechRecognitionResultList.h",
20     "SpeechTrackListener.h",
23 EXPORTS += [
24     "endpointer.h",
25     "energy_endpointer.h",
26     "energy_endpointer_params.h",
29 if CONFIG["MOZ_WEBSPEECH_TEST_BACKEND"]:
30     EXPORTS.mozilla.dom += [
31         "test/FakeSpeechRecognitionService.h",
32     ]
34 UNIFIED_SOURCES += [
35     "endpointer.cc",
36     "energy_endpointer.cc",
37     "energy_endpointer_params.cc",
38     "OnlineSpeechRecognitionService.cpp",
39     "SpeechGrammar.cpp",
40     "SpeechGrammarList.cpp",
41     "SpeechRecognition.cpp",
42     "SpeechRecognitionAlternative.cpp",
43     "SpeechRecognitionResult.cpp",
44     "SpeechRecognitionResultList.cpp",
45     "SpeechTrackListener.cpp",
48 if CONFIG["MOZ_WEBSPEECH_TEST_BACKEND"]:
49     UNIFIED_SOURCES += [
50         "test/FakeSpeechRecognitionService.cpp",
51     ]
53 USE_LIBS += [
54     "jsoncpp",
57 LOCAL_INCLUDES += [
58     "/dom/base",
59     "/toolkit/components/jsoncpp/include",
62 include("/ipc/chromium/chromium-config.mozbuild")
64 FINAL_LIBRARY = "xul"