diff options
author | J.C. Jones <jjones@mozilla.com> | 2019-01-24 14:04:54 -0700 |
---|---|---|
committer | J.C. Jones <jjones@mozilla.com> | 2019-01-24 14:04:54 -0700 |
commit | 3969ef923e1d339b270e7e1ce419a65959238eac (patch) | |
tree | 99b3a00ba071bac09ca48324b727f12d8eeeb72c /build.sh | |
parent | f2f8c09d37847457d4a5ccd0b7bbc51c2f04be54 (diff) | |
download | nss-hg-3969ef923e1d339b270e7e1ce419a65959238eac.tar.gz |
Bug 1515236 - Centralize a SSLKEYLOGFILE enable/disable flag at build.sh r=mt
Backs out backout 31656990b5d083f97aecc3bb9ff0685e7f444bbb
Differential Revision: https://phabricator.services.mozilla.com/D17380
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,7 @@ fuzz=0 fuzz_tls=0 fuzz_oss=0 no_local_nspr=0 +sslkeylogfile=1 gyp_params=(--depth="$cwd" --generator-output=".") ninja_params=() @@ -103,6 +104,7 @@ while [ $# -gt 0 ]; do --enable-fips) gyp_params+=(-Ddisable_fips=0) ;; --enable-libpkix) gyp_params+=(-Ddisable_libpkix=0) ;; --mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;; + --disable-keylog) sslkeylogfile=0 ;; -D*) gyp_params+=("$1") ;; *) show_help; exit 2 ;; esac @@ -117,6 +119,8 @@ else target=Debug fi +gyp_params+=(-Denable_sslkeylogfile="$sslkeylogfile") + # Do special setup. if [ "$fuzz" = 1 ]; then source "$cwd"/coreconf/fuzz.sh |