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