moz.build 934 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. 'nsIXMLHttpRequest.idl',
  7. ]
  8. XPIDL_MODULE = 'dom_xhr'
  9. EXPORTS.mozilla.dom += [
  10. 'XMLHttpRequest.h',
  11. 'XMLHttpRequestEventTarget.h',
  12. 'XMLHttpRequestMainThread.h',
  13. 'XMLHttpRequestString.h',
  14. 'XMLHttpRequestUpload.h',
  15. ]
  16. SOURCES += [
  17. 'XMLHttpRequest.cpp',
  18. 'XMLHttpRequestEventTarget.cpp',
  19. 'XMLHttpRequestMainThread.cpp',
  20. 'XMLHttpRequestString.cpp',
  21. 'XMLHttpRequestUpload.cpp',
  22. 'XMLHttpRequestWorker.cpp',
  23. ]
  24. LOCAL_INCLUDES += [
  25. '/dom/base',
  26. '/dom/workers',
  27. '/netwerk/base',
  28. ]
  29. MOCHITEST_MANIFESTS += [ 'tests/mochitest.ini' ]
  30. include('/ipc/chromium/chromium-config.mozbuild')
  31. FINAL_LIBRARY = 'xul'