2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:18 +00: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 07:16:50 +00:00
|
|
|
MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.ini"]
|
Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += ["tests/mochitest/chrome.toml"]
|
2016-06-02 18:42:29 +00:00
|
|
|
BROWSER_CHROME_MANIFESTS += ["tests/mochitest/browser.ini"]
|
2015-05-12 21:31:39 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
|
|
|
|
|
2015-07-20 02:23:55 +00:00
|
|
|
# Hack to make this file available as a resource:// URI.
|
|
|
|
TESTING_JS_MODULES += [
|
|
|
|
"tests/mochitest/resource_test_file.html",
|
|
|
|
]
|
|
|
|
|
2014-07-15 18:12:59 +00:00
|
|
|
XPIDL_SOURCES += [
|
2015-07-08 00:53:15 +00:00
|
|
|
"nsIAddonPolicyService.idl",
|
2014-07-15 18:12:59 +00:00
|
|
|
"nsIDomainPolicy.idl",
|
|
|
|
"nsIPrincipal.idl",
|
|
|
|
"nsIScriptSecurityManager.idl",
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = "caps"
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
"nsJSPrincipals.h",
|
2018-07-04 01:24:52 +00:00
|
|
|
"nsScriptSecurityManager.h",
|
2014-07-15 18:12:59 +00:00
|
|
|
]
|
|
|
|
|
2015-05-11 21:25:59 +00:00
|
|
|
EXPORTS.mozilla = [
|
2017-03-22 17:45:40 +00:00
|
|
|
"BasePrincipal.h",
|
2018-07-17 19:38:48 +00:00
|
|
|
"ContentPrincipal.h",
|
2019-02-21 22:54:26 +00:00
|
|
|
"ExpandedPrincipal.h",
|
2018-07-17 19:37:48 +00:00
|
|
|
"NullPrincipal.h",
|
2017-03-22 17:45:40 +00:00
|
|
|
"OriginAttributes.h",
|
2020-05-29 22:18:01 +00:00
|
|
|
"PrincipalHashKey.h",
|
2018-07-17 19:38:19 +00:00
|
|
|
"SystemPrincipal.h",
|
2015-05-11 21:25:59 +00:00
|
|
|
]
|
|
|
|
|
2016-01-29 23:19:56 +00:00
|
|
|
SOURCES += [
|
|
|
|
# Compile this separately since nsExceptionHandler.h conflicts
|
2017-03-22 10:38:40 +00:00
|
|
|
# with something from NullPrincipal.cpp.
|
2015-05-11 21:25:59 +00:00
|
|
|
"BasePrincipal.cpp",
|
2016-01-29 23:19:56 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2017-03-22 10:39:31 +00:00
|
|
|
"ContentPrincipal.cpp",
|
2014-07-15 18:12:59 +00:00
|
|
|
"DomainPolicy.cpp",
|
2017-03-22 10:38:17 +00:00
|
|
|
"ExpandedPrincipal.cpp",
|
2014-07-15 18:12:59 +00:00
|
|
|
"nsJSPrincipals.cpp",
|
|
|
|
"nsScriptSecurityManager.cpp",
|
2017-03-22 10:38:40 +00:00
|
|
|
"NullPrincipal.cpp",
|
2017-03-22 17:45:40 +00:00
|
|
|
"OriginAttributes.cpp",
|
2017-03-22 10:39:08 +00:00
|
|
|
"SystemPrincipal.cpp",
|
2014-07-15 18:12:59 +00:00
|
|
|
]
|
|
|
|
|
2019-06-03 12:37:12 +00:00
|
|
|
USE_LIBS += [
|
|
|
|
"jsoncpp",
|
|
|
|
]
|
|
|
|
|
2014-07-15 18:12:59 +00:00
|
|
|
LOCAL_INCLUDES += [
|
2015-09-23 08:10:21 +00:00
|
|
|
"/docshell/base",
|
2014-07-15 18:12:59 +00:00
|
|
|
"/dom/base",
|
|
|
|
"/js/xpconnect/src",
|
2017-08-04 12:11:17 +00:00
|
|
|
"/netwerk/base",
|
2017-10-03 06:37:11 +00:00
|
|
|
"/netwerk/cookie",
|
2019-06-03 12:37:12 +00:00
|
|
|
"/toolkit/components/jsoncpp/include",
|
2014-07-15 18:12:59 +00:00
|
|
|
]
|
|
|
|
|
2015-10-06 07:36:10 +00:00
|
|
|
if CONFIG["ENABLE_TESTS"]:
|
|
|
|
DIRS += ["tests/gtest"]
|
|
|
|
|
2015-02-24 20:54:40 +00:00
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = "xul"
|
2017-01-10 17:46:28 +00:00
|
|
|
|
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "Security: CAPS")
|