tor-browser

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

moz.build (1676B)


      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", "DOM: Networking")
      9 
     10 EXPORTS.mozilla.dom += [
     11     "BodyExtractor.h",
     12     "ChannelInfo.h",
     13     "Fetch.h",
     14     "FetchChild.h",
     15     "FetchDriver.h",
     16     "FetchIPCTypes.h",
     17     "FetchObserver.h",
     18     "FetchParent.h",
     19     "FetchService.h",
     20     "FetchStreamReader.h",
     21     "FetchStreamUtils.h",
     22     "FetchUtil.h",
     23     "Headers.h",
     24     "InternalHeaders.h",
     25     "InternalRequest.h",
     26     "InternalResponse.h",
     27     "Request.h",
     28     "Response.h",
     29 ]
     30 
     31 UNIFIED_SOURCES += [
     32     "BodyExtractor.cpp",
     33     "ChannelInfo.cpp",
     34     "Fetch.cpp",
     35     "FetchChild.cpp",
     36     "FetchDriver.cpp",
     37     "FetchObserver.cpp",
     38     "FetchParent.cpp",
     39     "FetchService.cpp",
     40     "FetchStreamReader.cpp",
     41     "FetchStreamUtils.cpp",
     42     "FetchUtil.cpp",
     43     "Headers.cpp",
     44     "InternalHeaders.cpp",
     45     "InternalRequest.cpp",
     46     "InternalResponse.cpp",
     47     "Request.cpp",
     48     "Response.cpp",
     49 ]
     50 
     51 IPDL_SOURCES += [
     52     "FetchTypes.ipdlh",
     53     "PFetch.ipdl",
     54 ]
     55 
     56 LOCAL_INCLUDES += [
     57     # For nsDOMSerializer
     58     "/dom/base",
     59     # For HttpBaseChannel.h dependencies
     60     "/netwerk/base",
     61     # For nsDataHandler.h
     62     "/netwerk/protocol/data",
     63     # For HttpBaseChannel.h
     64     "/netwerk/protocol/http",
     65 ]
     66 
     67 BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"]
     68 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
     69 
     70 FINAL_LIBRARY = "xul"
     71 
     72 include("/ipc/chromium/chromium-config.mozbuild")