moz.build 884 B

12345678910111213141516171819202122232425262728293031323334353637
  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. 'nsISocketProvider.idl',
  7. 'nsISocketProviderService.idl',
  8. 'nsISOCKSSocketInfo.idl',
  9. 'nsISSLSocketControl.idl',
  10. 'nsITransportSecurityInfo.idl',
  11. ]
  12. XPIDL_MODULE = 'necko_socket'
  13. LOCAL_INCLUDES += [
  14. '/netwerk/base',
  15. ]
  16. SOURCES += [
  17. 'nsSocketProviderService.cpp',
  18. 'nsSOCKSIOLayer.cpp',
  19. 'nsSOCKSSocketProvider.cpp',
  20. 'nsUDPSocketProvider.cpp',
  21. ]
  22. if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
  23. XPIDL_SOURCES += [
  24. 'nsINamedPipeService.idl',
  25. ]
  26. SOURCES += [
  27. 'nsNamedPipeIOLayer.cpp',
  28. 'nsNamedPipeService.cpp'
  29. ]
  30. FINAL_LIBRARY = 'xul'