moz.build 1.6 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. MOCHITEST_MANIFESTS += ['test/mochitest.ini']
  6. MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
  7. XPIDL_SOURCES += [
  8. 'nsIEditingSession.idl',
  9. ]
  10. XPIDL_MODULE = 'composer'
  11. SOURCES += [
  12. 'nsComposerCommands.cpp',
  13. 'nsComposerCommandsUpdater.cpp',
  14. 'nsComposerController.cpp',
  15. 'nsComposerDocumentCommands.cpp',
  16. 'nsComposerRegistration.cpp',
  17. 'nsComposeTxtSrvFilter.cpp',
  18. 'nsEditingSession.cpp',
  19. 'nsEditorSpellCheck.cpp',
  20. ]
  21. FINAL_LIBRARY = 'xul'
  22. RESOURCE_FILES += [
  23. 'res/EditorOverride.css',
  24. 'res/grabber.gif',
  25. 'res/table-add-column-after-active.gif',
  26. 'res/table-add-column-after-hover.gif',
  27. 'res/table-add-column-after.gif',
  28. 'res/table-add-column-before-active.gif',
  29. 'res/table-add-column-before-hover.gif',
  30. 'res/table-add-column-before.gif',
  31. 'res/table-add-row-after-active.gif',
  32. 'res/table-add-row-after-hover.gif',
  33. 'res/table-add-row-after.gif',
  34. 'res/table-add-row-before-active.gif',
  35. 'res/table-add-row-before-hover.gif',
  36. 'res/table-add-row-before.gif',
  37. 'res/table-remove-column-active.gif',
  38. 'res/table-remove-column-hover.gif',
  39. 'res/table-remove-column.gif',
  40. 'res/table-remove-row-active.gif',
  41. 'res/table-remove-row-hover.gif',
  42. 'res/table-remove-row.gif',
  43. ]
  44. if CONFIG['GNU_CXX']:
  45. CXXFLAGS += ['-Wno-error=shadow']