moz.build (1257B)
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 if CONFIG["OS_TARGET"] == "WINNT": 8 DEFINES["SIP_OS_WINDOWS"] = True 9 elif CONFIG["OS_TARGET"] == "Darwin": 10 DEFINES["SIP_OS_OSX"] = True 11 else: 12 DEFINES["SIP_OS_LINUX"] = True 13 14 # Add libFuzzer configuration directives 15 include("/tools/fuzzing/libfuzzer-config.mozbuild") 16 17 LOCAL_INCLUDES += [ 18 "/dom/media/webrtc", 19 "/media/webrtc", 20 "/third_party/sipcc", 21 ] 22 23 UNIFIED_SOURCES += [ 24 "HybridSdpParser.cpp", 25 "ParsingResultComparer.cpp", 26 "SdpAttribute.cpp", 27 "SdpHelper.cpp", 28 "SdpLog.cpp", 29 "SdpMediaSection.cpp", 30 "SdpPref.cpp", 31 "SipccSdp.cpp", 32 "SipccSdpAttributeList.cpp", 33 "SipccSdpMediaSection.cpp", 34 "SipccSdpParser.cpp", 35 ] 36 37 SOURCES += [ 38 # Building these as part of the unified build leads to multiply defined 39 # symbols on windows. 40 "RsdparsaSdp.cpp", 41 "RsdparsaSdpAttributeList.cpp", 42 "RsdparsaSdpGlue.cpp", 43 "RsdparsaSdpMediaSection.cpp", 44 "RsdparsaSdpParser.cpp", 45 ] 46 47 FINAL_LIBRARY = "xul"