moz.build (1780B)
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 with Files("**"): 8 BUG_COMPONENT = ("Core", "Networking: WebSockets") 9 10 XPIDL_SOURCES += [ 11 "nsITransportProvider.idl", 12 "nsIWebSocketChannel.idl", 13 "nsIWebSocketEventService.idl", 14 "nsIWebSocketImpl.idl", 15 "nsIWebSocketListener.idl", 16 ] 17 18 XPIDL_MODULE = "necko_websocket" 19 20 EXPORTS.mozilla.net += [ 21 "BaseWebSocketChannel.h", 22 "IPCTransportProvider.h", 23 "WebSocketChannel.h", 24 "WebSocketChannelChild.h", 25 "WebSocketChannelParent.h", 26 "WebSocketConnectionBase.h", 27 "WebSocketConnectionChild.h", 28 "WebSocketConnectionListener.h", 29 "WebSocketConnectionParent.h", 30 "WebSocketEventListenerChild.h", 31 "WebSocketEventListenerParent.h", 32 "WebSocketEventService.h", 33 "WebSocketFrame.h", 34 ] 35 36 UNIFIED_SOURCES += [ 37 "BaseWebSocketChannel.cpp", 38 "IPCTransportProvider.cpp", 39 "WebSocketChannel.cpp", 40 "WebSocketChannelChild.cpp", 41 "WebSocketChannelParent.cpp", 42 "WebSocketConnection.cpp", 43 "WebSocketConnectionChild.cpp", 44 "WebSocketConnectionParent.cpp", 45 "WebSocketEventListenerChild.cpp", 46 "WebSocketEventListenerParent.cpp", 47 "WebSocketEventService.cpp", 48 "WebSocketFrame.cpp", 49 ] 50 51 IPDL_SOURCES += [ 52 "PTransportProvider.ipdl", 53 "PWebSocket.ipdl", 54 "PWebSocketConnection.ipdl", 55 "PWebSocketEventListener.ipdl", 56 ] 57 58 include("/ipc/chromium/chromium-config.mozbuild") 59 60 FINAL_LIBRARY = "xul" 61 62 LOCAL_INCLUDES += [ 63 "/dom/base", 64 "/netwerk/base", 65 ] 66 67 include("/tools/fuzzing/libfuzzer-config.mozbuild")