2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:23 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'necko_datachan'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla.net += [
|
|
|
|
'DataChannel.h',
|
2013-10-10 14:04:28 -07:00
|
|
|
'DataChannelListener.h',
|
|
|
|
'DataChannelProtocol.h'
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'DataChannel.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'necko'
|
2013-11-27 05:55:07 -08:00
|
|
|
|
2013-11-28 06:25:39 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../src',
|
|
|
|
'/media/mtransport',
|
|
|
|
'/media/webrtc/trunk/third_party/libjingle/source',
|
|
|
|
'/xpcom/ds',
|
|
|
|
]
|
|
|
|
|
2013-11-27 05:55:07 -08:00
|
|
|
DEFINES['INET'] = 1
|
|
|
|
DEFINES['SCTP_DEBUG'] = 1
|
|
|
|
|
|
|
|
if CONFIG['OS_TARGET'] != 'Android':
|
|
|
|
DEFINES['INET6'] = 1
|
|
|
|
|
|
|
|
if CONFIG['OS_TARGET'] == 'WINNT':
|
|
|
|
DEFINES['__Userspace_os_Windows'] = 1
|
|
|
|
else:
|
|
|
|
DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1
|