moz.build (1683B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 EXPORTS.mozilla.net += [ 6 "NrIceStunAddrMessageUtils.h", 7 "PStunAddrsParams.h", 8 "StunAddrsRequestChild.h", 9 "StunAddrsRequestParent.h", 10 "WebrtcTCPSocket.h", 11 "WebrtcTCPSocketCallback.h", 12 "WebrtcTCPSocketChild.h", 13 "WebrtcTCPSocketParent.h", 14 ] 15 16 UNIFIED_SOURCES += [ 17 "StunAddrsRequestChild.cpp", 18 "StunAddrsRequestParent.cpp", 19 "WebrtcTCPSocket.cpp", 20 "WebrtcTCPSocketChild.cpp", 21 "WebrtcTCPSocketLog.cpp", 22 "WebrtcTCPSocketParent.cpp", 23 ] 24 25 IPDL_SOURCES += [ 26 "PStunAddrsRequest.ipdl", 27 "PWebrtcTCPSocket.ipdl", 28 "WebrtcProxyConfig.ipdlh", 29 ] 30 31 include("/ipc/chromium/chromium-config.mozbuild") 32 33 FINAL_LIBRARY = "xul" 34 35 DEFINES["R_DEFINED_INT2"] = "int16_t" 36 DEFINES["R_DEFINED_UINT2"] = "uint16_t" 37 DEFINES["R_DEFINED_INT4"] = "int32_t" 38 DEFINES["R_DEFINED_UINT4"] = "uint32_t" 39 # These are defined to avoid a conflict between typedefs in winsock2.h and 40 # r_types.h. This is safe because these types are unused by the code here, 41 # but still deeply unfortunate. There is similar code in the win32 version of 42 # csi_platform.h, but that trick does not work here, even if that file is 43 # directly included. 44 DEFINES["R_DEFINED_INT8"] = "int8_t" 45 DEFINES["R_DEFINED_UINT8"] = "uint8_t" 46 47 LOCAL_INCLUDES += [ 48 "/dom/media/webrtc/jsapi", 49 "/dom/media/webrtc/transport/third_party/nICEr/src/net", 50 "/dom/media/webrtc/transport/third_party/nrappkit/src/util/libekr", 51 "/media/webrtc", 52 "/netwerk/base", 53 "/netwerk/protocol/http", 54 ]