Bug 1776444 [wpt PR 34582] - Revert "Add TimedHTMLParserBudget to fieldtrial_testing_...
[gecko.git] / third_party / prio / moz.build
blob0a6e3c74a2696e19d7c33ef384adf4ff9b15b979
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/.
6 LOCAL_INCLUDES += [
7     '/security/nss/lib/freebl/mpi',
8     '/third_party/msgpack/include',
9     'include',
12 EXPORTS += [
13     'include/mprio.h',
16 # We allow warnings for third-party code that can be updated from upstream.
17 AllowCompilerWarnings()
19 NoVisibilityFlags()
21 SOURCES += [
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',
31 SOURCES += [
32     'prio/client.c',
33     'prio/config.c',
34     'prio/encrypt.c',
35     'prio/mparray.c',
36     'prio/poly.c',
37     'prio/prg.c',
38     'prio/rand.c',
39     'prio/serial.c',
40     'prio/server.c',
41     'prio/share.c',
44 FINAL_LIBRARY = 'xul'
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