moz.build 1.4 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. with Files('**'):
  6. BUG_COMPONENT = ('Core', 'Layout: Form Controls')
  7. MOCHITEST_MANIFESTS += ['test/mochitest.ini']
  8. MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
  9. EXPORTS += [
  10. 'nsIComboboxControlFrame.h',
  11. 'nsIFormControlFrame.h',
  12. 'nsIListControlFrame.h',
  13. 'nsISelectControlFrame.h',
  14. 'nsITextControlFrame.h',
  15. ]
  16. SOURCES += [
  17. 'nsButtonFrameRenderer.cpp',
  18. 'nsColorControlFrame.cpp',
  19. 'nsComboboxControlFrame.cpp',
  20. 'nsDateTimeControlFrame.cpp',
  21. 'nsFieldSetFrame.cpp',
  22. 'nsFileControlFrame.cpp',
  23. 'nsFormControlFrame.cpp',
  24. 'nsGfxButtonControlFrame.cpp',
  25. 'nsGfxCheckboxControlFrame.cpp',
  26. 'nsGfxRadioControlFrame.cpp',
  27. 'nsHTMLButtonControlFrame.cpp',
  28. 'nsImageControlFrame.cpp',
  29. 'nsLegendFrame.cpp',
  30. 'nsListControlFrame.cpp',
  31. 'nsMeterFrame.cpp',
  32. 'nsNumberControlFrame.cpp',
  33. 'nsProgressFrame.cpp',
  34. 'nsRangeFrame.cpp',
  35. 'nsSelectsAreaFrame.cpp',
  36. 'nsTextControlFrame.cpp',
  37. ]
  38. FINAL_LIBRARY = 'xul'
  39. LOCAL_INCLUDES += [
  40. '../../editor/txmgr',
  41. '../base',
  42. '../generic',
  43. '../style',
  44. '../xul',
  45. '/dom/base',
  46. '/dom/html',
  47. ]
  48. if CONFIG['GNU_CXX']:
  49. CXXFLAGS += ['-Wno-error=shadow']