Bug 1865597 - Add error checking when initializing parallel marking and disable on...
[gecko.git] / js / src / fuzz-tests / moz.build
blobccec998f0bbb2a9234af3cea4570050657e75d39
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/.
7 GeckoProgram("fuzz-tests", linkage=None)
9 include("../js-cxxflags.mozbuild")
10 include("../js-standalone.mozbuild")
12 UNIFIED_SOURCES += [
13     "testExample.cpp",
14     "testRegExp.cpp",
15     "tests.cpp",
16     "testStructuredCloneReader.cpp",
17     "testWasm.cpp",
20 DEFINES["EXPORT_JS_API"] = True
22 LOCAL_INCLUDES += [
23     "!..",
24     "..",
27 if CONFIG["FUZZING"]:
28     USE_LIBS += [
29         "static:fuzzer-registry",
30     ]
32     # Add libFuzzer configuration directives
33     include("/tools/fuzzing/libfuzzer-config.mozbuild")
35 if CONFIG["FUZZING_INTERFACES"]:
36     USE_LIBS += [
37         "static:fuzzer",
38     ]
40 USE_LIBS += [
41     "static:js",
42     "static:jsrust",
45 DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR