tor-browser

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

moz.build (1316B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 with Files("**"):
      8     BUG_COMPONENT = ("Core", "Networking")
      9 
     10 DIRS += ["interfaces"]
     11 
     12 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"]
     13 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
     14 
     15 EXPORTS.mozilla.dom += [
     16     "TCPServerSocket.h",
     17     "TCPSocket.h",
     18     "UDPSocket.h",
     19 ]
     20 
     21 EXPORTS.mozilla.dom.network += [
     22     "Connection.h",
     23     "Constants.h",
     24     "TCPServerSocketChild.h",
     25     "TCPServerSocketParent.h",
     26     "TCPSocketChild.h",
     27     "TCPSocketParent.h",
     28     "UDPSocketChild.h",
     29     "UDPSocketParent.h",
     30 ]
     31 
     32 UNIFIED_SOURCES += [
     33     "Connection.cpp",
     34     "ConnectionMainThread.cpp",
     35     "ConnectionWorker.cpp",
     36     "TCPServerSocket.cpp",
     37     "TCPServerSocketChild.cpp",
     38     "TCPServerSocketParent.cpp",
     39     "TCPSocket.cpp",
     40     "TCPSocketChild.cpp",
     41     "TCPSocketParent.cpp",
     42     "UDPSocket.cpp",
     43     "UDPSocketChild.cpp",
     44     "UDPSocketParent.cpp",
     45 ]
     46 
     47 IPDL_SOURCES += [
     48     "PTCPServerSocket.ipdl",
     49     "PTCPSocket.ipdl",
     50     "PUDPSocket.ipdl",
     51 ]
     52 
     53 include("/ipc/chromium/chromium-config.mozbuild")
     54 
     55 FINAL_LIBRARY = "xul"