Bug 1941046 - Part 4: Send a callback request for impression and clicks of MARS Top...
[gecko.git] / dom / security / moz.build
blob493f74a9f91e783fa3f4d4677a0e35639c3e27c1
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 with Files("*"):
8     BUG_COMPONENT = ("Core", "DOM: Security")
10 TEST_DIRS += ["test"]
12 DIRS += ["featurepolicy", "sanitizer", "trusted-types"]
14 EXPORTS.mozilla.dom += [
15     "CSPEvalChecker.h",
16     "CSPViolationData.h",
17     "DomSecurityIPCUtils.h",
18     "DOMSecurityMonitor.h",
19     "FramingChecker.h",
20     "nsContentSecurityManager.h",
21     "nsContentSecurityUtils.h",
22     "nsCSPContext.h",
23     "nsCSPService.h",
24     "nsCSPUtils.h",
25     "nsHTTPSOnlyStreamListener.h",
26     "nsHTTPSOnlyUtils.h",
27     "nsMixedContentBlocker.h",
28     "PolicyTokenizer.h",
29     "ReferrerInfo.h",
30     "SecFetch.h",
31     "SRICheck.h",
32     "SRILogHelper.h",
33     "SRIMetadata.h",
36 EXPORTS += [
37     "nsContentSecurityManager.h",
38     "nsContentSecurityUtils.h",
39     "nsMixedContentBlocker.h",
40     "ReferrerInfo.h",
43 UNIFIED_SOURCES += [
44     "CSPEvalChecker.cpp",
45     "CSPViolationData.cpp",
46     "DOMSecurityMonitor.cpp",
47     "FramingChecker.cpp",
48     "nsContentSecurityManager.cpp",
49     "nsContentSecurityUtils.cpp",
50     "nsCSPContext.cpp",
51     "nsCSPParser.cpp",
52     "nsCSPService.cpp",
53     "nsCSPUtils.cpp",
54     "nsHTTPSOnlyStreamListener.cpp",
55     "nsHTTPSOnlyUtils.cpp",
56     "nsMixedContentBlocker.cpp",
57     "PolicyTokenizer.cpp",
58     "ReferrerInfo.cpp",
59     "SecFetch.cpp",
60     "SRICheck.cpp",
61     "SRIMetadata.cpp",
64 include("/ipc/chromium/chromium-config.mozbuild")
66 FINAL_LIBRARY = "xul"
67 LOCAL_INCLUDES += [
68     "/caps",
69     "/docshell/base",  # for nsDocShell.h
70     "/netwerk/base",
71     "/netwerk/protocol/data",  # for nsDataHandler.h
72     "/netwerk/protocol/http",  # for HttpBaseChannel.h
75 include("/tools/fuzzing/libfuzzer-config.mozbuild")
77 if CONFIG["FUZZING_INTERFACES"]:
78     TEST_DIRS += ["fuzztest"]
81 XPIDL_SOURCES += [
82     "nsIHttpsOnlyModePermission.idl",
85 XPIDL_MODULE = "dom_security"