|
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/. |
|
6 |
|
7 EXPORTS.mozilla.net += [ |
|
8 'DataChannel.h', |
|
9 'DataChannelListener.h', |
|
10 'DataChannelProtocol.h' |
|
11 ] |
|
12 |
|
13 SOURCES += [ |
|
14 'DataChannel.cpp', |
|
15 ] |
|
16 |
|
17 FAIL_ON_WARNINGS = True |
|
18 |
|
19 include('/ipc/chromium/chromium-config.mozbuild') |
|
20 |
|
21 FINAL_LIBRARY = 'necko' |
|
22 |
|
23 LOCAL_INCLUDES += [ |
|
24 '../src', |
|
25 '/media/mtransport', |
|
26 '/media/webrtc/trunk/third_party/libjingle/source', |
|
27 ] |
|
28 |
|
29 DEFINES['INET'] = 1 |
|
30 DEFINES['SCTP_DEBUG'] = 1 |
|
31 |
|
32 if CONFIG['OS_TARGET'] != 'Android': |
|
33 DEFINES['INET6'] = 1 |
|
34 |
|
35 if CONFIG['OS_TARGET'] == 'WINNT': |
|
36 DEFINES['__Userspace_os_Windows'] = 1 |
|
37 else: |
|
38 DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1 |
|
39 |
|
40 NO_PGO = True # Don't PGO |