2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2014-03-13 00:08:18 +04:00
|
|
|
# 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/.
|
|
|
|
|
2017-03-09 13:33:30 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "Security: PSM")
|
|
|
|
|
2014-06-17 09:57:55 +04:00
|
|
|
SOURCES += [
|
2014-03-13 00:08:18 +04:00
|
|
|
'lib/pkixbuild.cpp',
|
2014-07-04 03:59:42 +04:00
|
|
|
'lib/pkixcert.cpp',
|
2014-03-13 00:08:18 +04:00
|
|
|
'lib/pkixcheck.cpp',
|
|
|
|
'lib/pkixder.cpp',
|
2014-10-01 01:41:39 +04:00
|
|
|
'lib/pkixnames.cpp',
|
2014-07-18 22:48:49 +04:00
|
|
|
'lib/pkixnss.cpp',
|
2014-03-13 00:08:18 +04:00
|
|
|
'lib/pkixocsp.cpp',
|
2014-09-01 06:42:36 +04:00
|
|
|
'lib/pkixresult.cpp',
|
2014-08-02 19:49:12 +04:00
|
|
|
'lib/pkixtime.cpp',
|
2015-02-07 23:14:31 +03:00
|
|
|
'lib/pkixverify.cpp',
|
2014-03-13 00:08:18 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'include',
|
|
|
|
]
|
|
|
|
|
2014-03-27 03:00:03 +04:00
|
|
|
TEST_DIRS += [
|
|
|
|
'test/gtest',
|
2014-03-13 00:08:18 +04:00
|
|
|
'test/lib',
|
|
|
|
]
|
|
|
|
|
2015-02-08 01:38:40 +03:00
|
|
|
include('warnings.mozbuild')
|
2014-03-13 00:08:18 +04:00
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
Library('mozillapkix')
|
2014-03-13 00:08:18 +04:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2016-03-15 09:57:33 +03:00
|
|
|
|
2016-05-11 10:00:01 +03:00
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
|
2016-03-15 09:57:33 +03:00
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
# This is intended as a temporary hack to support building with VS2015.
|
|
|
|
# declaration of '*' hides class member
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ['-wd4458']
|