tor-browser

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

moz.build (1197B)


      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 # We give js/src/debugger its own moz.build file, separate from
      8 # js/src/moz.build, so that the object file names don't conflict with those from
      9 # other directories. For example, js/src/debugger/Object.cpp and
     10 # js/src/builtin/Object.cpp had better not smash each other's .o files when
     11 # unified sources are disabled.
     12 
     13 FINAL_LIBRARY = "js"
     14 
     15 # Includes should be relative to parent path
     16 LOCAL_INCLUDES += ["!..", ".."]
     17 
     18 include("../js-compileflags.mozbuild")
     19 include("../js-config.mozbuild")
     20 include("../js-cxxflags.mozbuild")
     21 
     22 UNIFIED_SOURCES = [
     23     "Debugger.cpp",
     24     "DebuggerMemory.cpp",
     25     "DebugScript.cpp",
     26     "Environment.cpp",
     27     "Frame.cpp",
     28     "NoExecute.cpp",
     29     "Object.cpp",
     30     "Script.cpp",
     31     "Source.cpp",
     32 ]
     33 
     34 if CONFIG["MOZ_EXECUTION_TRACING"]:
     35     UNIFIED_SOURCES += ["ExecutionTracer.cpp"]
     36 
     37 if CONFIG["FUZZING_JS_FUZZILLI"]:
     38     include("/tools/fuzzing/libfuzzer-config.mozbuild")