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/.
9 # Includes should be relative to parent path
10 LOCAL_INCLUDES += ["!..", ".."]
12 include("../js-config.mozbuild")
13 include("../js-cxxflags.mozbuild")
18 "WasmBaselineCompile.cpp",
22 "WasmBuiltinModule.cpp",
25 "WasmCodegenTypes.cpp",
42 "WasmModuleTypes.cpp",
47 "WasmSignalHandlers.cpp",
49 "WasmSummarizeInsn.cpp",
57 # Generate wasm/WasmBuiltinModuleGenerated.h from wasm/WasmBuiltinModule.yaml
59 "WasmBuiltinModuleGenerated.h",
60 script="GenerateBuiltinModules.py",
61 inputs=["WasmBuiltinModule.yaml"],
64 # Make sure all WebAssembly code is built with libfuzzer
65 # coverage instrumentation in FUZZING mode.
66 if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
67 include("/tools/fuzzing/libfuzzer-config.mozbuild")