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