moz.build 904 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. XPIDL_SOURCES += [
  6. 'nsIFTPChannel.idl',
  7. 'nsIFTPChannelParentInternal.idl',
  8. ]
  9. XPIDL_MODULE = 'necko_ftp'
  10. EXPORTS += [
  11. 'ftpCore.h',
  12. ]
  13. EXPORTS.mozilla.net += [
  14. 'FTPChannelChild.h',
  15. 'FTPChannelParent.h',
  16. ]
  17. SOURCES += [
  18. 'FTPChannelChild.cpp',
  19. 'FTPChannelParent.cpp',
  20. 'nsFTPChannel.cpp',
  21. 'nsFtpConnectionThread.cpp',
  22. 'nsFtpControlConnection.cpp',
  23. 'nsFtpProtocolHandler.cpp',
  24. ]
  25. IPDL_SOURCES += [
  26. 'PFTPChannel.ipdl',
  27. ]
  28. include('/ipc/chromium/chromium-config.mozbuild')
  29. FINAL_LIBRARY = 'xul'
  30. LOCAL_INCLUDES += [
  31. '/netwerk/base',
  32. ]
  33. if CONFIG['GNU_CXX']:
  34. CXXFLAGS += ['-Wno-error=shadow']