tor-browser

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

moz.build (854B)


      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 FINAL_LIBRARY = "js"
      8 
      9 # Includes should be relative to parent path
     10 LOCAL_INCLUDES += ["!..", ".."]
     11 
     12 include("../js-compileflags.mozbuild")
     13 include("../js-config.mozbuild")
     14 include("../js-cxxflags.mozbuild")
     15 
     16 SOURCES += [
     17     "CTypes.cpp",
     18     "Library.cpp",
     19 ]
     20 
     21 if not CONFIG["MOZ_SYSTEM_FFI"]:
     22     LOCAL_INCLUDES += [
     23         "!libffi/include",
     24         "libffi/src/%s" % CONFIG["FFI_TARGET_DIR"],
     25     ]
     26 
     27 if CONFIG["MOZ_SYSTEM_FFI"]:
     28     CXXFLAGS += CONFIG["MOZ_FFI_CFLAGS"]
     29 
     30 if CONFIG["FUZZING_JS_FUZZILLI"]:
     31     include("/tools/fuzzing/libfuzzer-config.mozbuild")