michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS.mozilla.net += [ michael@0: 'DataChannel.h', michael@0: 'DataChannelListener.h', michael@0: 'DataChannelProtocol.h' michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'DataChannel.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'necko' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../src', michael@0: '/media/mtransport', michael@0: '/media/webrtc/trunk/third_party/libjingle/source', michael@0: ] michael@0: michael@0: DEFINES['INET'] = 1 michael@0: DEFINES['SCTP_DEBUG'] = 1 michael@0: michael@0: if CONFIG['OS_TARGET'] != 'Android': michael@0: DEFINES['INET6'] = 1 michael@0: michael@0: if CONFIG['OS_TARGET'] == 'WINNT': michael@0: DEFINES['__Userspace_os_Windows'] = 1 michael@0: else: michael@0: DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1 michael@0: michael@0: NO_PGO = True # Don't PGO