Bug 1870499 - disable test_youtube_flash_embed.html on linux debug for causing multip...
[gecko.git] / caps / moz.build
blob1fdb1324c697cc0597a2ee09bb5f8de6b2742b52
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.toml"]
8 MOCHITEST_CHROME_MANIFESTS += ["tests/mochitest/chrome.toml"]
9 BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.toml"]
10 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
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     "OriginAttributes.h",
37     "PrincipalHashKey.h",
38     "SystemPrincipal.h",
41 SOURCES += [
42     # Compile this separately since nsExceptionHandler.h conflicts
43     # with something from NullPrincipal.cpp.
44     "BasePrincipal.cpp",
47 UNIFIED_SOURCES += [
48     "ContentPrincipal.cpp",
49     "DomainPolicy.cpp",
50     "ExpandedPrincipal.cpp",
51     "nsJSPrincipals.cpp",
52     "nsScriptSecurityManager.cpp",
53     "NullPrincipal.cpp",
54     "OriginAttributes.cpp",
55     "SystemPrincipal.cpp",
58 USE_LIBS += [
59     "jsoncpp",
62 LOCAL_INCLUDES += [
63     "/docshell/base",
64     "/dom/base",
65     "/js/xpconnect/src",
66     "/netwerk/base",
67     "/netwerk/cookie",
68     "/toolkit/components/jsoncpp/include",
71 if CONFIG["ENABLE_TESTS"]:
72     DIRS += ["tests/gtest"]
74 include("/ipc/chromium/chromium-config.mozbuild")
76 FINAL_LIBRARY = "xul"
78 with Files("**"):
79     BUG_COMPONENT = ("Core", "Security: CAPS")