tor-browser

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

moz.build (1019B)


      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 EXPORTS.mozilla.net += [
      8     "DataChannel.h",
      9     "DataChannelDcSctp.h",
     10     "DataChannelLog.h",
     11     "DataChannelProtocol.h",
     12     "DataChannelUsrsctp.h",
     13 ]
     14 
     15 SOURCES += [
     16     "DataChannel.cpp",
     17     "DataChannelDcSctp.cpp",
     18     "DataChannelUsrsctp.cpp",
     19 ]
     20 
     21 include("/ipc/chromium/chromium-config.mozbuild")
     22 
     23 FINAL_LIBRARY = "xul"
     24 
     25 LOCAL_INCLUDES += [
     26     "!/dist/include/libwebrtc_overrides",
     27     "/dom/media/webrtc",
     28     "/dom/media/webrtc/transport",
     29     "/media/webrtc",
     30     "/netwerk/sctp/src",
     31     "/third_party/abseil-cpp",
     32     "/third_party/libwebrtc",
     33 ]
     34 
     35 DEFINES["SCTP_DEBUG"] = 1
     36 
     37 if CONFIG["OS_TARGET"] == "WINNT":
     38     DEFINES["__Userspace_os_Windows"] = 1
     39 else:
     40     DEFINES["__Userspace_os_%s" % CONFIG["OS_TARGET"]] = 1