Bug 1523562 [wpt PR 14965] - Sync Mozilla CSS tests as of 2019-01-20, a=testonly
[gecko.git] / security / nss / help.txt
blob1df72736e0b068b65f82f9c16e02979e76ddfe84
1 Usage: build.sh [-h] [-c|-cc] [-v] [-j <n>] [--gyp|-g] [--opt|-o]
2                 [-t <x64|x86|...>|--target=<x64|x86|...>]
3                 [--clang|--gcc|--msvc] [--scan-build[=dir]] [--disable-tests]
4                 [--pprof] [--asan] [--msan] [--ubsan[=bool,shift,...]
5                 [--fuzz[=tls|oss]] [--sancov[=edge|bb|func|...]]
6                 [--emit-llvm] [--no-zdefs] [--test] [--ct-verif]
7                 [--nspr|--with-nspr=<include>:<lib>|--system-nspr]
8                 [--system-sqlite] [--enable-fips] [--enable-libpkix]
9                 [--mozpkix-only]
11 This script builds NSS with gyp and ninja.
13 NSS build tool options:
15     -h               display this help and exit
16     -c               clean before build
17     -cc              clean without building
18     -v               verbose build
19     -j <n>           run at most <n> concurrent jobs
20     --gyp|-g         force a rerun of gyp
21     --opt|-o         do an opt build
22     --target|-t      specify target architecture (e.g., x86, x64, aarch64)
23     --clang          build with clang and clang++
24     --gcc            build with gcc and g++
25     --msvc           build with MSVC
26     --scan-build     run the build with scan-build
27                      --scan-build=<dir> sets the output path for scan-build
28     --disable-tests  don't build tests and corresponding cmdline utils
29     --pprof          build with gperftool support
30     --asan           enable address sanitizer
31     --msan           enable memory sanitizer
32     --ubsan          enable undefined behavior sanitizer
33                      --ubsan=bool,shift,... sets specific UB sanitizers
34     --fuzz           build fuzzing targets (this always enables test builds)
35                      --fuzz=tls to enable TLS fuzzing mode
36                      --fuzz=oss to build for OSS-Fuzz
37     --sancov         do sanitize coverage builds
38                      --sancov=func sets coverage to function level for example
39     --emit-llvm      emit LLVM bitcode while building
40                      (requires the gold linker, use clang-3.8 for SAW)
41     --no-zdefs       don't set -Wl,-z,defs
42     --test           ignore map files and export everything we have
43     --ct-verif       build with valgrind for ct-verif
44     --nspr           force a rebuild of NSPR
45     --with-nspr      use the NSPR build at the given locations
46                      --with-nspr=<include>:<lib> sets include and lib paths
47     --system-nspr    attempt to use system nspr
48                      shorthand for --with-nspr=/usr/include/nspr:
49     --system-sqlite  use system sqlite
50     --enable-fips    enable FIPS checks
51     --enable-libpkix make libpkix part of the build
52     --mozpkix-only   build only static mozpkix and mozpkix-test libraries
53                      support for this build option is limited