tor-browser

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

moz.build (1980B)


      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 UNIFIED_SOURCES += [
     17     "AsmJS.cpp",
     18     "WasmAnyRef.cpp",
     19     "WasmBaselineCompile.cpp",
     20     "WasmBCFrame.cpp",
     21     "WasmBCMemory.cpp",
     22     "WasmBinary.cpp",
     23     "WasmBuiltinModule.cpp",
     24     "WasmBuiltins.cpp",
     25     "WasmCode.cpp",
     26     "WasmCodegenTypes.cpp",
     27     "WasmCompile.cpp",
     28     "WasmContext.cpp",
     29     "WasmDebug.cpp",
     30     "WasmDebugFrame.cpp",
     31     "WasmDump.cpp",
     32     "WasmFeatures.cpp",
     33     "WasmFrameIter.cpp",
     34     "WasmGC.cpp",
     35     "WasmGcObject.cpp",
     36     "WasmGenerator.cpp",
     37     "WasmInitExpr.cpp",
     38     "WasmInstance.cpp",
     39     "WasmIonCompile.cpp",
     40     "WasmJS.cpp",
     41     "WasmLog.cpp",
     42     "WasmMemory.cpp",
     43     "WasmMetadata.cpp",
     44     "WasmModule.cpp",
     45     "WasmModuleTypes.cpp",
     46     "WasmOpIter.cpp",
     47     "WasmPI.cpp",
     48     "WasmProcess.cpp",
     49     "WasmRealm.cpp",
     50     "WasmSerialize.cpp",
     51     "WasmSignalHandlers.cpp",
     52     "WasmStaticTypeDefs.cpp",
     53     "WasmStructLayout.cpp",
     54     "WasmStubs.cpp",
     55     "WasmSummarizeInsn.cpp",
     56     "WasmTable.cpp",
     57     "WasmTypeDef.cpp",
     58     "WasmValidate.cpp",
     59     "WasmValType.cpp",
     60     "WasmValue.cpp",
     61 ]
     62 
     63 # Generate wasm/WasmBuiltinModuleGenerated.h from wasm/WasmBuiltinModule.yaml
     64 GeneratedFile(
     65     "WasmBuiltinModuleGenerated.h",
     66     script="GenerateBuiltinModules.py",
     67     inputs=["WasmBuiltinModule.yaml"],
     68 )
     69 
     70 # Make sure all WebAssembly code is built with coverage instrumentation
     71 # in FUZZING modes.
     72 if CONFIG["FUZZING_INTERFACES"] or CONFIG["FUZZING_JS_FUZZILLI"]:
     73     include("/tools/fuzzing/libfuzzer-config.mozbuild")