Bug 1509459 - Get the flexbox highlighter state if the highlighter is ready in the...
[gecko.git] / caps / moz.build
blobab61777803c983ef13be2e34104543b256f0ba85
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',
17 XPIDL_SOURCES += [
18     'nsIAddonPolicyService.idl',
19     'nsIDomainPolicy.idl',
20     'nsIPrincipal.idl',
21     'nsIScriptSecurityManager.idl',
24 XPIDL_MODULE = 'caps'
26 EXPORTS += [
27     'nsJSPrincipals.h',
28     'nsScriptSecurityManager.h',
31 EXPORTS.mozilla = [
32     'BasePrincipal.h',
33     'ContentPrincipal.h',
34     'NullPrincipal.h',
35     'NullPrincipalURI.h',
36     'OriginAttributes.h',
37     'SystemPrincipal.h',
40 SOURCES += [
41     # Compile this separately since nsExceptionHandler.h conflicts
42     # with something from NullPrincipal.cpp.
43     'BasePrincipal.cpp',
46 UNIFIED_SOURCES += [
47     'ContentPrincipal.cpp',
48     'DomainPolicy.cpp',
49     'ExpandedPrincipal.cpp',
50     'nsJSPrincipals.cpp',
51     'nsScriptSecurityManager.cpp',
52     'NullPrincipal.cpp',
53     'NullPrincipalURI.cpp',
54     'OriginAttributes.cpp',
55     'SystemPrincipal.cpp',
58 LOCAL_INCLUDES += [
59     '/docshell/base',
60     '/dom/base',
61     '/js/xpconnect/src',
62     '/netwerk/base',
63     '/netwerk/cookie',
66 if CONFIG['ENABLE_TESTS']:
67     DIRS += ['tests/gtest']
69 include('/ipc/chromium/chromium-config.mozbuild')
71 FINAL_LIBRARY = 'xul'
73 with Files("**"):
74     BUG_COMPONENT = ("Core", "Security: CAPS")