1 # -*- Mode: python; c-basic-offset: 4; 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/.
7 if CONFIG['OS_TARGET'] != 'WINNT' and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
9 'buffered_stun_socket_unittest',
12 'rlogringbuffer_unittest',
13 'runnable_utils_unittest',
14 'simpletokenbucket_unittest',
15 'sockettransportservice_unittest',
17 'transport_unittests',
21 if CONFIG['MOZ_SCTP']:
26 FAIL_ON_WARNINGS = True
28 for var in ('HAVE_STRDUP', 'NR_SOCKET_IS_VOID_PTR', 'SCTP_DEBUG', 'INET'):
31 if CONFIG['OS_TARGET'] == 'Android':
33 '/media/mtransport/third_party/nrappkit/src/port/android/include',
36 DEFINES['INET6'] = True
38 if CONFIG['OS_TARGET'] == 'Linux':
40 '/media/mtransport/third_party/nrappkit/src/port/linux/include',
43 if CONFIG['OS_TARGET'] == 'Darwin':
45 '/media/mtransport/third_party/nrappkit/src/port/darwin/include',
48 if CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'NetBSD', 'OpenBSD'):
50 '/media/mtransport/third_party/nrappkit/src/port/darwin/include',
51 '/media/mtransport/third_party/nrappkit/src/port/generic/include',
55 if CONFIG['OS_TARGET'] == 'WINNT':
56 DEFINES['__Userspace_os_Windows'] = 1
58 # Works for Darwin, Linux, Android. Probably doesn't work for others.
59 DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1
61 if CONFIG['OS_TARGET'] in ('Darwin', 'Android'):
62 DEFINES['GTEST_USE_OWN_TR1_TUPLE'] = 1
66 '/media/mtransport/third_party/',
67 '/media/mtransport/third_party/nICEr/src/crypto',
68 '/media/mtransport/third_party/nICEr/src/ice',
69 '/media/mtransport/third_party/nICEr/src/net',
70 '/media/mtransport/third_party/nICEr/src/stun',
71 '/media/mtransport/third_party/nICEr/src/util',
72 '/media/mtransport/third_party/nrappkit/src/event',
73 '/media/mtransport/third_party/nrappkit/src/log',
74 '/media/mtransport/third_party/nrappkit/src/plugin',
75 '/media/mtransport/third_party/nrappkit/src/registry',
76 '/media/mtransport/third_party/nrappkit/src/share',
77 '/media/mtransport/third_party/nrappkit/src/stats',
78 '/media/mtransport/third_party/nrappkit/src/util/',
79 '/media/mtransport/third_party/nrappkit/src/util/libekr',
80 '/media/webrtc/trunk/testing/gtest/include/',
85 '/media/webrtc/trunk/testing/gtest_gtest/gtest',
92 if not CONFIG['MOZ_NATIVE_NSS'] and not CONFIG['MOZ_FOLD_LIBS']:
94 # Statically linking NSS libssl ensures that we can debug NSS too
95 'static:/security/nss/lib/ssl/ssl',
98 if CONFIG['MOZ_SCTP']: