gecko-dev/third_party/prio/moz.build

45 строки
1.1 KiB
Python

# vim: set filetype=python:
# 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/.
LOCAL_INCLUDES += [
'/security/nss/lib/freebl/mpi',
'/third_party/msgpack/include',
'include',
]
EXPORTS += [
'include/mprio.h',
]
# We allow warnings for third-party code that can be updated from upstream.
AllowCompilerWarnings()
NoVisibilityFlags()
SOURCES += [
'/security/nss/lib/freebl/mpi/montmulf.c',
'/security/nss/lib/freebl/mpi/mp_gf2m.c',
'/security/nss/lib/freebl/mpi/mpcpucache.c',
'/security/nss/lib/freebl/mpi/mpi.c',
'/security/nss/lib/freebl/mpi/mplogic.c',
'/security/nss/lib/freebl/mpi/mpmontg.c',
'/security/nss/lib/freebl/mpi/mpprime.c',
]
SOURCES += [
'prio/client.c',
'prio/config.c',
'prio/encrypt.c',
'prio/mparray.c',
'prio/poly.c',
'prio/prg.c',
'prio/rand.c',
'prio/serial.c',
'prio/server.c',
'prio/share.c',
]
FINAL_LIBRARY = 'xul'