2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2014-10-28 02:58:20 +03: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-06-09 02:21:31 +03:00
|
|
|
TEST_DIRS += ['test']
|
|
|
|
|
2014-10-28 02:58:20 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
2016-03-14 13:56:35 +03:00
|
|
|
'ContentVerifier.h',
|
2015-07-20 05:12:11 +03:00
|
|
|
'nsContentSecurityManager.h',
|
2014-10-28 02:58:20 +03:00
|
|
|
'nsCSPContext.h',
|
|
|
|
'nsCSPService.h',
|
|
|
|
'nsCSPUtils.h',
|
2014-10-28 19:44:11 +03:00
|
|
|
'nsMixedContentBlocker.h',
|
2015-08-13 06:19:11 +03:00
|
|
|
'SRICheck.h',
|
2016-05-04 03:43:33 +03:00
|
|
|
'SRILogHelper.h',
|
2015-08-13 06:19:11 +03:00
|
|
|
'SRIMetadata.h',
|
2014-10-28 02:58:20 +03:00
|
|
|
]
|
|
|
|
|
2014-12-31 02:54:59 +03:00
|
|
|
EXPORTS += [
|
2015-07-20 05:12:11 +03:00
|
|
|
'nsContentSecurityManager.h',
|
2014-12-31 02:54:59 +03:00
|
|
|
]
|
|
|
|
|
2014-10-28 02:58:20 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2016-03-14 13:56:35 +03:00
|
|
|
'ContentVerifier.cpp',
|
2015-07-20 05:12:11 +03:00
|
|
|
'nsContentSecurityManager.cpp',
|
2014-10-28 02:58:20 +03:00
|
|
|
'nsCSPContext.cpp',
|
|
|
|
'nsCSPParser.cpp',
|
|
|
|
'nsCSPService.cpp',
|
|
|
|
'nsCSPUtils.cpp',
|
2014-10-28 19:44:11 +03:00
|
|
|
'nsMixedContentBlocker.cpp',
|
2015-08-13 06:19:11 +03:00
|
|
|
'SRICheck.cpp',
|
|
|
|
'SRIMetadata.cpp',
|
2014-10-28 02:58:20 +03:00
|
|
|
]
|
|
|
|
|
2015-09-09 22:14:27 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-10-28 02:58:20 +03:00
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/caps',
|
2015-01-20 11:58:00 +03:00
|
|
|
'/netwerk/base',
|
2014-10-28 02:58:20 +03:00
|
|
|
]
|
2015-07-28 02:14:56 +03:00
|
|
|
|
2015-07-28 03:12:58 +03:00
|
|
|
if CONFIG['GNU_CC']:
|
2016-05-14 10:54:55 +03:00
|
|
|
CFLAGS += ['-Wformat-security']
|
|
|
|
CXXFLAGS += ['-Wformat-security']
|