moz.build 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. if CONFIG['ENABLE_TESTS']:
  6. MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
  7. MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
  8. XPIDL_SOURCES += [
  9. 'inICSSValueSearch.idl',
  10. 'inIDeepTreeWalker.idl',
  11. 'inIDOMUtils.idl',
  12. 'inIDOMView.idl',
  13. 'inISearchObserver.idl',
  14. 'inISearchProcess.idl',
  15. 'nsIDOMFontFace.idl',
  16. 'nsIDOMFontFaceList.idl',
  17. ]
  18. XPIDL_MODULE = 'inspector'
  19. EXPORTS += [
  20. 'nsFontFace.h',
  21. 'nsFontFaceList.h',
  22. ]
  23. SOURCES += [
  24. 'inCSSValueSearch.cpp',
  25. 'inDeepTreeWalker.cpp',
  26. 'inDOMUtils.cpp',
  27. 'inLayoutUtils.cpp',
  28. 'inSearchLoop.cpp',
  29. 'nsFontFace.cpp',
  30. 'nsFontFaceList.cpp',
  31. ]
  32. if CONFIG['MOZ_XUL']:
  33. SOURCES += [
  34. 'inDOMView.cpp',
  35. ]
  36. FINAL_LIBRARY = 'xul'
  37. LOCAL_INCLUDES += [
  38. '../style',
  39. '/dom/base',
  40. '/dom/xbl',
  41. ]