Bug 1699438 [wpt PR 28133] - Update behavior for canvas.direction = inherit, a=testonly
[gecko.git] / caps / moz.build
blobe35debe6dac6d2fb65c4ee5bc0e61781f33a827a
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     "ExpandedPrincipal.h",
35     "NullPrincipal.h",
36     "NullPrincipalURI.h",
37     "OriginAttributes.h",
38     "PrincipalHashKey.h",
39     "SystemPrincipal.h",
42 SOURCES += [
43     # Compile this separately since nsExceptionHandler.h conflicts
44     # with something from NullPrincipal.cpp.
45     "BasePrincipal.cpp",
48 UNIFIED_SOURCES += [
49     "ContentPrincipal.cpp",
50     "DomainPolicy.cpp",
51     "ExpandedPrincipal.cpp",
52     "nsJSPrincipals.cpp",
53     "nsScriptSecurityManager.cpp",
54     "NullPrincipal.cpp",
55     "NullPrincipalURI.cpp",
56     "OriginAttributes.cpp",
57     "SystemPrincipal.cpp",
60 USE_LIBS += [
61     "jsoncpp",
64 LOCAL_INCLUDES += [
65     "/docshell/base",
66     "/dom/base",
67     "/js/xpconnect/src",
68     "/netwerk/base",
69     "/netwerk/cookie",
70     "/toolkit/components/jsoncpp/include",
73 if CONFIG["ENABLE_TESTS"]:
74     DIRS += ["tests/gtest"]
76 include("/ipc/chromium/chromium-config.mozbuild")
78 FINAL_LIBRARY = "xul"
80 with Files("**"):
81     BUG_COMPONENT = ("Core", "Security: CAPS")