tor-browser

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

moz.build (1252B)


      1 # -*- Mode: python; python-indent: 4; 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 += [
      8     "SandboxBroker.h",
      9     "SandboxBrokerCommon.h",
     10     "SandboxBrokerPolicyFactory.h",
     11 ]
     12 
     13 UNIFIED_SOURCES += [
     14     "SandboxBroker.cpp",
     15     "SandboxBrokerCommon.cpp",
     16     "SandboxBrokerPolicyFactory.cpp",
     17     "SandboxBrokerRealpath.cpp",
     18 ]
     19 
     20 LOCAL_INCLUDES += [
     21     "/security/sandbox/linux",  # SandboxLogging.h, SandboxInfo.h
     22 ]
     23 
     24 # Need this for mozilla::ipc::FileDescriptor etc.
     25 include("/ipc/chromium/chromium-config.mozbuild")
     26 
     27 # Need this for safe_sprintf.h used by SandboxLogging.h,
     28 # but it has to be after ipc/chromium/src.
     29 LOCAL_INCLUDES += [
     30     "/security/sandbox/chromium",
     31     "/security/sandbox/chromium-shim",
     32     "/security/sandbox/chromium-shim/base/allocator/partition_allocator/src",
     33     "/security/sandbox/chromium/base/allocator/partition_allocator/src",
     34 ]
     35 
     36 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
     37     CXXFLAGS += CONFIG["GLIB_CFLAGS"]
     38     CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
     39 
     40 FINAL_LIBRARY = "xul"