Bug 1876335 - use GRADLE_MAVEN_REPOSITORIES in more places. r=owlish,geckoview-review...
[gecko.git] / netwerk / ipc / moz.build
blobee878627851cf5441c077a120b55b368a065e54e
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 EXPORTS.mozilla.net += [
8     "ChannelEventQueue.h",
9     "DocumentChannel.h",
10     "DocumentChannelChild.h",
11     "DocumentChannelParent.h",
12     "DocumentLoadListener.h",
13     "InputChannelThrottleQueueChild.h",
14     "InputChannelThrottleQueueParent.h",
15     "NeckoChild.h",
16     "NeckoCommon.h",
17     "NeckoMessageUtils.h",
18     "NeckoParent.h",
19     "NeckoTargetHolder.h",
20     "ParentChannelWrapper.h",
21     "ParentProcessDocumentChannel.h",
22     "ProxyAutoConfigChild.h",
23     "ProxyAutoConfigParent.h",
24     "ProxyConfigLookup.h",
25     "ProxyConfigLookupChild.h",
26     "ProxyConfigLookupParent.h",
27     "SocketProcessBackgroundChild.h",
28     "SocketProcessBackgroundParent.h",
29     "SocketProcessBridgeChild.h",
30     "SocketProcessBridgeParent.h",
31     "SocketProcessChild.h",
32     "SocketProcessHost.h",
33     "SocketProcessImpl.h",
34     "SocketProcessParent.h",
37 UNIFIED_SOURCES += [
38     "ChannelEventQueue.cpp",
39     "DocumentChannel.cpp",
40     "DocumentChannelChild.cpp",
41     "DocumentChannelParent.cpp",
42     "DocumentLoadListener.cpp",
43     "InputChannelThrottleQueueChild.cpp",
44     "InputChannelThrottleQueueParent.cpp",
45     "NeckoChild.cpp",
46     "NeckoCommon.cpp",
47     "NeckoParent.cpp",
48     "NeckoTargetHolder.cpp",
49     "ParentChannelWrapper.cpp",
50     "ParentProcessDocumentChannel.cpp",
51     "ProxyConfigLookup.cpp",
52     "ProxyConfigLookupChild.cpp",
53     "ProxyConfigLookupParent.cpp",
54     "SocketProcessBackgroundChild.cpp",
55     "SocketProcessBackgroundParent.cpp",
56     "SocketProcessBridgeChild.cpp",
57     "SocketProcessBridgeParent.cpp",
58     "SocketProcessChild.cpp",
59     "SocketProcessHost.cpp",
60     "SocketProcessImpl.cpp",
61     "SocketProcessParent.cpp",
64 SOURCES += [
65     "ProxyAutoConfigChild.cpp",
66     "ProxyAutoConfigParent.cpp",
70 PREPROCESSED_IPDL_SOURCES += [
71     "PNecko.ipdl",
72     "PSocketProcess.ipdl",
73     "PSocketProcessBridge.ipdl",
76 IPDL_SOURCES = [
77     "NeckoChannelParams.ipdlh",
78     "PDataChannel.ipdl",
79     "PDocumentChannel.ipdl",
80     "PFileChannel.ipdl",
81     "PInputChannelThrottleQueue.ipdl",
82     "PProxyAutoConfig.ipdl",
83     "PProxyConfigLookup.ipdl",
84     "PSimpleChannel.ipdl",
85     "PSocketProcessBackground.ipdl",
88 # needed so --disable-webrtc builds work (yes, a bit messy)
89 if not CONFIG["MOZ_WEBRTC"]:
90     IPDL_SOURCES += [
91         "../../dom/media/webrtc/transport/ipc/PStunAddrsRequest.ipdl",
92         "../../dom/media/webrtc/transport/ipc/PWebrtcTCPSocket.ipdl",
93         "../../dom/media/webrtc/transport/ipc/WebrtcProxyConfig.ipdlh",
94     ]
95     EXPORTS.mozilla.net += [
96         "../../dom/media/webrtc/transport/ipc/NrIceStunAddrMessageUtils.h",
97         "../../dom/media/webrtc/transport/ipc/PStunAddrsParams.h",
98     ]
100 include("/ipc/chromium/chromium-config.mozbuild")
102 FINAL_LIBRARY = "xul"
104 LOCAL_INCLUDES += [
105     "/caps",
106     "/dom/base",
107     "/dom/media/webrtc/transport",
108     "/media/webrtc",
109     "/modules/libjar",
110     "/netwerk/base",
111     "/netwerk/protocol/http",
112     "/security/manager/ssl",
113     "/xpcom/threads",
116 # Add libFuzzer configuration directives
117 include("/tools/fuzzing/libfuzzer-config.mozbuild")