tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (1563B)


      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/.
      5 
      6 MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
      7 
      8 XPIDL_MODULE = "dom_webspeechrecognition"
      9 
     10 XPIDL_SOURCES = ["nsISpeechRecognitionService.idl"]
     11 
     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",
     21 ]
     22 
     23 EXPORTS += [
     24     "endpointer.h",
     25     "energy_endpointer.h",
     26     "energy_endpointer_params.h",
     27 ]
     28 
     29 if CONFIG["MOZ_WEBSPEECH_TEST_BACKEND"]:
     30     EXPORTS.mozilla.dom += [
     31         "test/FakeSpeechRecognitionService.h",
     32     ]
     33 
     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",
     46 ]
     47 
     48 if CONFIG["MOZ_WEBSPEECH_TEST_BACKEND"]:
     49     UNIFIED_SOURCES += [
     50         "test/FakeSpeechRecognitionService.cpp",
     51     ]
     52 
     53 USE_LIBS += [
     54     "jsoncpp",
     55 ]
     56 
     57 LOCAL_INCLUDES += [
     58     "/dom/base",
     59     "/toolkit/components/jsoncpp/include",
     60 ]
     61 
     62 include("/ipc/chromium/chromium-config.mozbuild")
     63 
     64 FINAL_LIBRARY = "xul"