moz.build 851 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. EXPORTS.mozilla.net += [
  6. 'DataChannel.h',
  7. 'DataChannelListener.h',
  8. 'DataChannelProtocol.h'
  9. ]
  10. SOURCES += [
  11. 'DataChannel.cpp',
  12. ]
  13. include('/ipc/chromium/chromium-config.mozbuild')
  14. FINAL_LIBRARY = 'xul'
  15. LOCAL_INCLUDES += [
  16. '/media/mtransport',
  17. '/netwerk/sctp/src',
  18. ]
  19. DEFINES['INET'] = 1
  20. DEFINES['SCTP_DEBUG'] = 1
  21. DEFINES['INET6'] = 1
  22. if CONFIG['OS_TARGET'] == 'WINNT':
  23. DEFINES['__Userspace_os_Windows'] = 1
  24. else:
  25. DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1
  26. NO_PGO = True # Don't PGO
  27. if CONFIG['GNU_CXX']:
  28. CXXFLAGS += ['-Wno-error=shadow']