no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / third_party / sipcc / moz.build
blob851032c37020ca8f89b000521b8a88e9a5f2ba0a
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 if CONFIG['MOZ_WEBRTC_SIGNALING']:
7     if CONFIG['OS_TARGET'] == 'WINNT':
8         DEFINES['SIP_OS_WINDOWS'] = True
9         SOURCES += [
10             'sdp_services_win32.c',
11         ]
12     elif CONFIG['OS_TARGET'] == 'Darwin':
13         DEFINES['SIP_OS_OSX'] = True
14         SOURCES += [
15             'sdp_services_unix.c',
16         ]
17     else:
18         DEFINES['SIP_OS_LINUX'] = True
19         SOURCES += [
20             'sdp_services_unix.c',
21         ]
23     # Add libFuzzer configuration directives
24     include('/tools/fuzzing/libfuzzer-config.mozbuild')
26     EXPORTS += [
27         'sdp_log.h',
28         'sipcc_sdp.h',
29     ]
31     SOURCES += [
32         # Multiple definitions of "logTag" mean we can't use unified build here.
33         'cpr_string.c',
34         'sdp_access.c',
35         'sdp_attr.c',
36         'sdp_attr_access.c',
37         'sdp_base64.c',
38         'sdp_config.c',
39         'sdp_main.c',
40         'sdp_token.c',
41         'sdp_utils.c',
42     ]
44     FINAL_LIBRARY = 'xul'