2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:24 +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/.
|
|
|
|
|
2015-05-19 20:47:42 +03:00
|
|
|
DIRS += ['resources']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2015-05-19 20:47:38 +03:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIASN1Tree.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'pippki'
|
2015-05-19 20:47:42 +03:00
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsASN1Tree.cpp',
|
|
|
|
'nsNSSDialogHelper.cpp',
|
|
|
|
'nsNSSDialogs.cpp',
|
|
|
|
'nsPKIModule.cpp',
|
|
|
|
]
|
|
|
|
|
2015-11-04 08:20:20 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'!/dist/public/nss',
|
2015-05-19 20:47:42 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2017-04-04 11:56:26 +03:00
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2017-04-04 11:56:26 +03:00
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wextra',
|
|
|
|
# -Wextra enables this warning, but it's too noisy to be useful.
|
|
|
|
'-Wno-missing-field-initializers',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Gecko headers aren't warning-free enough for us to enable these warnings.
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-unused-parameter',
|
|
|
|
]
|