security/pkix/moz.build
author Carsten "Tomcat" Book <cbook@mozilla.com>
Wed, 25 Jun 2014 16:21:26 +0200
changeset 190703 56ebaa70ca72a266df2faca874255901582d89ba
parent 189535 e74c19c18f01a5340e00ecfbc44c774c9a71d11d
child 192738 911d02f2c02a13fbdf80083f6d00886e35523f20
permissions -rw-r--r--
Merge mozilla-central to b2g-inbound

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

SOURCES += [
    'lib/pkixbind.cpp',
    'lib/pkixbuild.cpp',
    'lib/pkixcheck.cpp',
    'lib/pkixder.cpp',
    'lib/pkixkey.cpp',
    'lib/pkixocsp.cpp',
]

LOCAL_INCLUDES += [
    'include',
]

TEST_DIRS += [
    'test/gtest',
    'test/lib',
]

CXXFLAGS += ['-Wall']
# -Wall with Visual C++ enables too many problematic warnings
if CONFIG['_MSC_VER']:
  CXXFLAGS += [
    '-wd4514', # 'function': unreferenced inline function has been removed
    '-wd4668', # 'symbol' is not defined as a preprocessor macro...
    '-wd4710', # 'function': function not inlined
    '-wd4711', # function 'function' selected for inline expansion
    '-wd4820', # 'bytes' bytes padding added after construct 'member_name'
  ]

FAIL_ON_WARNINGS = True

LIBRARY_NAME = 'mozillapkix'

FINAL_LIBRARY = 'xul'