1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
8 MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
9 BROWSER_CHROME_MANIFESTS += ['tests/mochitest/browser.ini']
10 XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
12 # Hack to make this file available as a resource:// URI.
13 TESTING_JS_MODULES += [
14 'tests/mochitest/resource_test_file.html',
18 'nsIAddonPolicyService.idl',
19 'nsIDomainPolicy.idl',
21 'nsIScriptSecurityManager.idl',
28 'nsScriptSecurityManager.h',
41 # Compile this separately since nsExceptionHandler.h conflicts
42 # with something from NullPrincipal.cpp.
47 'ContentPrincipal.cpp',
49 'ExpandedPrincipal.cpp',
51 'nsScriptSecurityManager.cpp',
53 'NullPrincipalURI.cpp',
54 'OriginAttributes.cpp',
55 'SystemPrincipal.cpp',
66 if CONFIG['ENABLE_TESTS']:
67 DIRS += ['tests/gtest']
69 include('/ipc/chromium/chromium-config.mozbuild')
74 BUG_COMPONENT = ("Core", "Security: CAPS")