tor-browser

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

moz.build (1541B)


      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 += [
      7     "test/mochitest.toml",
      8     "test/startup/mochitest.toml",
      9 ]
     10 
     11 XPIDL_MODULE = "dom_webspeechsynth"
     12 
     13 XPIDL_SOURCES += ["nsISpeechService.idl", "nsISynthVoiceRegistry.idl"]
     14 
     15 EXPORTS.mozilla.dom += [
     16     "ipc/SpeechSynthesisChild.h",
     17     "ipc/SpeechSynthesisParent.h",
     18     "nsSpeechTask.h",
     19     "nsSynthVoiceRegistry.h",
     20     "SpeechSynthesis.h",
     21     "SpeechSynthesisUtterance.h",
     22     "SpeechSynthesisVoice.h",
     23 ]
     24 
     25 UNIFIED_SOURCES += [
     26     "ipc/SpeechSynthesisChild.cpp",
     27     "ipc/SpeechSynthesisParent.cpp",
     28     "nsSpeechTask.cpp",
     29     "nsSynthVoiceRegistry.cpp",
     30     "SpeechSynthesis.cpp",
     31     "SpeechSynthesisUtterance.cpp",
     32     "SpeechSynthesisVoice.cpp",
     33 ]
     34 
     35 if CONFIG["MOZ_WEBSPEECH_TEST_BACKEND"]:
     36     UNIFIED_SOURCES += ["test/nsFakeSynthServices.cpp"]
     37 
     38     XPCOM_MANIFESTS += [
     39         "test/components.conf",
     40     ]
     41 
     42 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
     43     DIRS += ["windows"]
     44 
     45 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
     46     DIRS += ["cocoa"]
     47 
     48 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
     49     DIRS += ["android"]
     50 
     51 if CONFIG["MOZ_SYNTH_SPEECHD"]:
     52     DIRS += ["speechd"]
     53 
     54 IPDL_SOURCES += [
     55     "ipc/PSpeechSynthesis.ipdl",
     56     "ipc/PSpeechSynthesisRequest.ipdl",
     57 ]
     58 
     59 include("/ipc/chromium/chromium-config.mozbuild")
     60 
     61 FINAL_LIBRARY = "xul"
     62 LOCAL_INCLUDES += [
     63     "ipc",
     64 ]