Commit bd788dd7 authored by Benjamin Beurdouche's avatar Benjamin Beurdouche

Bug 1678384 - Add a build flag to allow building nssckbi-testlib in m-c r=kjacobs

Differential Revision: https://phabricator.services.mozilla.com/D98154

--HG--
extra : moz-landing-system : lando
parent e6311261
......@@ -131,6 +131,7 @@ while [ $# -gt 0 ]; do
--mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;;
--disable-keylog) sslkeylogfile=0 ;;
--enable-legacy-db) gyp_params+=(-Ddisable_dbm=0) ;;
--mozilla-central) gyp_params+=(-Dmozilla_central=1) ;;
-D*) gyp_params+=("$1") ;;
*) show_help; exit 2 ;;
esac
......
......@@ -130,6 +130,7 @@
'only_dev_random%': 1,
'disable_fips%': 1,
'mozpkix_only%': 0,
'mozilla_central%': 0,
'coverage%': 0,
'softfp_cflags%': '',
'enable_draft_hpke%': 0,
......
......@@ -47,7 +47,7 @@
}
],
'variables': {
'mapfile': '../nssckbi.def',
'mapfile': 'nssckbi-testlib.def',
'certdata-testlib_c': '<(INTERMEDIATE_DIR)/certdata-testlib.c',
}
}
......
;+#
;+# This Source Code Form is subject to the terms of the Mozilla Public
;+# License, v. 2.0. If a copy of the MPL was not distributed with this
;+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
;+#
;+# OK, this file is meant to support SUN, LINUX, AIX and WINDOWS
;+# 1. For all unix platforms, the string ";-" means "remove this line"
;+# 2. For all unix platforms, the string " DATA " will be removed from any
;+# line on which it occurs.
;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX.
;+# On AIX, lines containing ";+" will be removed.
;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed.
;+# 5. For all unix platforms, after the above processing has taken place,
;+# all characters after the first ";" on the line will be removed.
;+# And for AIX, the first ";" will also be removed.
;+# This file is passed directly to windows. Since ';' is a comment, all UNIX
;+# directives are hidden behind ";", ";+", and ";-"
;+
;+NSS_3.1 { # NSS 3.1 release
;+ global:
LIBRARY nssckbi-testlib ;-
EXPORTS ;-
C_GetFunctionList;
;+ local:
;+*;
;+};
......@@ -314,5 +314,16 @@
},
],
}],
[ 'mozilla_central==1', {
'targets': [
{
'target_name': 'test_nssckbi',
'type': 'none',
'dependencies': [
'lib/ckfw/builtins/testlib/builtins-testlib.gyp:nssckbi-testlib',
],
},
],
}],
],
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment