2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:18 +00: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/.
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests/mochitest']
|
2013-03-19 18:47:00 +00:00
|
|
|
|
2015-05-12 21:31:39 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
|
|
|
|
2014-07-15 18:12:59 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDomainPolicy.idl',
|
|
|
|
'nsIPrincipal.idl',
|
|
|
|
'nsIScriptSecurityManager.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'caps'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsJSPrincipals.h',
|
|
|
|
'nsNullPrincipal.h',
|
2015-02-24 20:54:40 +00:00
|
|
|
'nsNullPrincipalURI.h',
|
2014-07-15 18:12:59 +00:00
|
|
|
]
|
|
|
|
|
2015-05-11 21:25:59 +00:00
|
|
|
EXPORTS.mozilla = [
|
|
|
|
'BasePrincipal.h'
|
|
|
|
]
|
|
|
|
|
2014-07-15 18:12:59 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2015-05-11 21:25:59 +00:00
|
|
|
'BasePrincipal.cpp',
|
2014-07-15 18:12:59 +00:00
|
|
|
'DomainPolicy.cpp',
|
|
|
|
'nsJSPrincipals.cpp',
|
|
|
|
'nsNullPrincipal.cpp',
|
|
|
|
'nsNullPrincipalURI.cpp',
|
|
|
|
'nsPrincipal.cpp',
|
|
|
|
'nsScriptSecurityManager.cpp',
|
|
|
|
'nsSystemPrincipal.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/js/xpconnect/src',
|
|
|
|
]
|
|
|
|
|
2015-02-24 20:54:40 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-15 18:12:59 +00:00
|
|
|
|
2014-12-05 00:24:03 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|