tor-browser

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

moz.build (834B)


      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 UNIFIED_SOURCES += [
      8     "nsIconProtocolHandler.cpp",
      9     "nsIconURI.cpp",
     10 ]
     11 
     12 XPCOM_MANIFESTS += [
     13     "components.conf",
     14 ]
     15 
     16 FINAL_LIBRARY = "xul"
     17 
     18 include("/ipc/chromium/chromium-config.mozbuild")
     19 
     20 EXPORTS += [
     21     "nsIconURI.h",
     22 ]
     23 
     24 platform = None
     25 
     26 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
     27     platform = "gtk"
     28 
     29 if CONFIG["OS_ARCH"] == "WINNT":
     30     platform = "win"
     31 
     32 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
     33     platform = "mac"
     34 
     35 if CONFIG["OS_TARGET"] == "Android":
     36     platform = "android"
     37 
     38 if platform:
     39     LOCAL_INCLUDES += [platform]