moz.build 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.dom += [
  6. 'ChannelInfo.h',
  7. 'Fetch.h',
  8. 'FetchDriver.h',
  9. 'FetchIPCTypes.h',
  10. 'FetchObserver.h',
  11. 'FetchUtil.h',
  12. 'Headers.h',
  13. 'InternalHeaders.h',
  14. 'InternalRequest.h',
  15. 'InternalResponse.h',
  16. 'Request.h',
  17. 'Response.h',
  18. ]
  19. UNIFIED_SOURCES += [
  20. 'Fetch.cpp',
  21. 'FetchConsumer.cpp',
  22. 'Request.cpp',
  23. 'Response.cpp',
  24. ]
  25. SOURCES += [
  26. 'ChannelInfo.cpp',
  27. 'FetchDriver.cpp',
  28. 'FetchObserver.cpp',
  29. 'FetchUtil.cpp',
  30. 'Headers.cpp',
  31. 'InternalHeaders.cpp',
  32. 'InternalRequest.cpp',
  33. 'InternalResponse.cpp',
  34. ]
  35. IPDL_SOURCES += [
  36. 'ChannelInfo.ipdlh',
  37. 'FetchTypes.ipdlh',
  38. ]
  39. LOCAL_INCLUDES += [
  40. '../workers',
  41. # For HttpBaseChannel.h dependencies
  42. '/netwerk/base',
  43. # For nsDataHandler.h
  44. '/netwerk/protocol/data',
  45. # For HttpBaseChannel.h
  46. '/netwerk/protocol/http',
  47. ]
  48. FINAL_LIBRARY = 'xul'
  49. include('/ipc/chromium/chromium-config.mozbuild')