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/.
|
|
|
|
|
2015-06-20 07:16:50 +00:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
|
2015-05-12 21:31:39 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
|
|
|
|
2015-07-20 02:23:55 +00:00
|
|
|
# Hack to make this file available as a resource:// URI.
|
|
|
|
TESTING_JS_MODULES += [
|
|
|
|
'tests/mochitest/resource_test_file.html',
|
|
|
|
]
|
|
|
|
|
2014-07-15 18:12:59 +00:00
|
|
|
XPIDL_SOURCES += [
|
2015-07-08 00:53:15 +00:00
|
|
|
'nsIAddonPolicyService.idl',
|
2014-07-15 18:12:59 +00:00
|
|
|
'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 += [
|
2015-09-23 08:10:21 +00:00
|
|
|
'/docshell/base',
|
2014-07-15 18:12:59 +00:00
|
|
|
'/dom/base',
|
|
|
|
'/js/xpconnect/src',
|
|
|
|
]
|
|
|
|
|
2015-10-06 07:36:10 +00:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DIRS += ['tests/gtest']
|
|
|
|
|
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'
|