moz.build 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. with Files('**'):
  6. BUG_COMPONENT = ('Core', 'XP Toolkit/Widgets: XUL')
  7. XPIDL_SOURCES += [
  8. 'nsITreeBoxObject.idl',
  9. 'nsITreeColumns.idl',
  10. 'nsITreeContentView.idl',
  11. 'nsITreeSelection.idl',
  12. 'nsITreeView.idl',
  13. ]
  14. XPIDL_MODULE = 'layout_xul_tree'
  15. EXPORTS += [
  16. 'nsTreeColFrame.h',
  17. 'nsTreeColumns.h',
  18. 'nsTreeUtils.h',
  19. ]
  20. EXPORTS.mozilla.dom += [
  21. 'TreeBoxObject.h'
  22. ]
  23. SOURCES += [
  24. 'nsTreeBodyFrame.cpp',
  25. 'nsTreeColFrame.cpp',
  26. 'nsTreeColumns.cpp',
  27. 'nsTreeContentView.cpp',
  28. 'nsTreeImageListener.cpp',
  29. 'nsTreeSelection.cpp',
  30. 'nsTreeStyleCache.cpp',
  31. 'nsTreeUtils.cpp',
  32. 'TreeBoxObject.cpp',
  33. ]
  34. FINAL_LIBRARY = 'xul'
  35. LOCAL_INCLUDES += [
  36. '..',
  37. '../../base',
  38. '../../forms',
  39. '../../generic',
  40. '../../style',
  41. '/dom/base',
  42. ]
  43. if CONFIG['GNU_CXX']:
  44. CXXFLAGS += ['-Wno-error=shadow']