2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +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-06-20 10:16:50 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
|
2015-05-13 00:31:39 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
|
|
|
|
2015-07-20 05:23:55 +03:00
|
|
|
# Hack to make this file available as a resource:// URI.
|
|
|
|
TESTING_JS_MODULES += [
|
|
|
|
'tests/mochitest/resource_test_file.html',
|
|
|
|
]
|
|
|
|
|
2014-07-15 22:12:59 +04:00
|
|
|
XPIDL_SOURCES += [
|
2015-07-08 03:53:15 +03:00
|
|
|
'nsIAddonPolicyService.idl',
|
2014-07-15 22:12:59 +04:00
|
|
|
'nsIDomainPolicy.idl',
|
|
|
|
'nsIPrincipal.idl',
|
|
|
|
'nsIScriptSecurityManager.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'caps'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsJSPrincipals.h',
|
|
|
|
'nsNullPrincipal.h',
|
2015-02-24 23:54:40 +03:00
|
|
|
'nsNullPrincipalURI.h',
|
2014-07-15 22:12:59 +04:00
|
|
|
]
|
|
|
|
|
2015-05-12 00:25:59 +03:00
|
|
|
EXPORTS.mozilla = [
|
|
|
|
'BasePrincipal.h'
|
|
|
|
]
|
|
|
|
|
2014-07-15 22:12:59 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-05-12 00:25:59 +03:00
|
|
|
'BasePrincipal.cpp',
|
2014-07-15 22:12:59 +04:00
|
|
|
'DomainPolicy.cpp',
|
|
|
|
'nsJSPrincipals.cpp',
|
|
|
|
'nsNullPrincipal.cpp',
|
|
|
|
'nsNullPrincipalURI.cpp',
|
|
|
|
'nsPrincipal.cpp',
|
|
|
|
'nsScriptSecurityManager.cpp',
|
|
|
|
'nsSystemPrincipal.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2015-09-23 11:10:21 +03:00
|
|
|
'/docshell/base',
|
2014-07-15 22:12:59 +04:00
|
|
|
'/dom/base',
|
|
|
|
'/js/xpconnect/src',
|
|
|
|
]
|
|
|
|
|
2015-10-06 10:36:10 +03:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DIRS += ['tests/gtest']
|
|
|
|
|
2015-02-24 23:54:40 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|