1 # vim: set filetype=python:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 '/security/nss/lib/freebl/mpi',
8 '/third_party/msgpack/include',
16 # We allow warnings for third-party code that can be updated from upstream.
17 AllowCompilerWarnings()
22 '/security/nss/lib/freebl/mpi/montmulf.c',
23 '/security/nss/lib/freebl/mpi/mp_gf2m.c',
24 '/security/nss/lib/freebl/mpi/mpcpucache.c',
25 '/security/nss/lib/freebl/mpi/mpi.c',
26 '/security/nss/lib/freebl/mpi/mplogic.c',
27 '/security/nss/lib/freebl/mpi/mpmontg.c',
28 '/security/nss/lib/freebl/mpi/mpprime.c',
46 # Use PKCS11 v2 struct definitions for now, otherwise NSS requires
47 # CK_GCM_PARAMS.ulIvBits to be set. This workaround is only required
48 # until NSS 3.52 RTM and upstream correctly initializes the field.
49 DEFINES['NSS_PKCS11_2_0_COMPAT'] = True