moz.build (3259B)
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/. 6 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", 35 ] 36 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", 62 ] 63 64 SOURCES += [ 65 "ProxyAutoConfigChild.cpp", 66 "ProxyAutoConfigParent.cpp", 67 ] 68 69 70 PREPROCESSED_IPDL_SOURCES += [ 71 "PNecko.ipdl", 72 "PSocketProcess.ipdl", 73 "PSocketProcessBridge.ipdl", 74 ] 75 76 IPDL_SOURCES = [ 77 "NeckoChannelParams.ipdlh", 78 "PDocumentChannel.ipdl", 79 "PInputChannelThrottleQueue.ipdl", 80 "PProxyAutoConfig.ipdl", 81 "PProxyConfigLookup.ipdl", 82 "PSocketProcessBackground.ipdl", 83 ] 84 85 # needed so --disable-webrtc builds work (yes, a bit messy) 86 if not CONFIG["MOZ_WEBRTC"]: 87 IPDL_SOURCES += [ 88 "../../dom/media/webrtc/transport/ipc/PStunAddrsRequest.ipdl", 89 "../../dom/media/webrtc/transport/ipc/PWebrtcTCPSocket.ipdl", 90 "../../dom/media/webrtc/transport/ipc/WebrtcProxyConfig.ipdlh", 91 ] 92 EXPORTS.mozilla.net += [ 93 "../../dom/media/webrtc/transport/ipc/NrIceStunAddrMessageUtils.h", 94 "../../dom/media/webrtc/transport/ipc/PStunAddrsParams.h", 95 ] 96 97 include("/ipc/chromium/chromium-config.mozbuild") 98 99 FINAL_LIBRARY = "xul" 100 101 LOCAL_INCLUDES += [ 102 "/caps", 103 "/dom/base", 104 "/dom/media/webrtc/transport", 105 "/media/webrtc", 106 "/modules/libjar", 107 "/netwerk/base", 108 "/netwerk/protocol/http", 109 "/security/manager/ssl", 110 "/xpcom/threads", 111 ] 112 113 # Add libFuzzer configuration directives 114 include("/tools/fuzzing/libfuzzer-config.mozbuild")