moz.build (1745B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 MOCHITEST_MANIFESTS += ["test/mochitest.toml"] 8 9 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] 10 11 XPIDL_SOURCES += [ 12 "nsIEditingSession.idl", 13 ] 14 15 XPIDL_MODULE = "composer" 16 17 UNIFIED_SOURCES += [ 18 "ComposerCommandsUpdater.cpp", 19 "nsEditingSession.cpp", 20 ] 21 22 EXPORTS += [ 23 "nsEditingSession.h", 24 ] 25 26 EXPORTS.mozilla += [ 27 "ComposerCommandsUpdater.h", 28 ] 29 30 # Needed because we include HTMLEditor.h which indirectly includes Document.h 31 LOCAL_INCLUDES += [ 32 "/dom/base", 33 "/dom/html", # For nsHTMLDocument 34 "/editor/spellchecker", # nsComposeTxtSrvFilter.h 35 "/layout/style", # For things nsHTMLDocument includes. 36 ] 37 38 FINAL_LIBRARY = "xul" 39 RESOURCE_FILES += [ 40 "res/EditorOverride.css", 41 "res/grabber.gif", 42 "res/table-add-column-after-active.gif", 43 "res/table-add-column-after-hover.gif", 44 "res/table-add-column-after.gif", 45 "res/table-add-column-before-active.gif", 46 "res/table-add-column-before-hover.gif", 47 "res/table-add-column-before.gif", 48 "res/table-add-row-after-active.gif", 49 "res/table-add-row-after-hover.gif", 50 "res/table-add-row-after.gif", 51 "res/table-add-row-before-active.gif", 52 "res/table-add-row-before-hover.gif", 53 "res/table-add-row-before.gif", 54 "res/table-remove-column-active.gif", 55 "res/table-remove-column-hover.gif", 56 "res/table-remove-column.gif", 57 "res/table-remove-row-active.gif", 58 "res/table-remove-row-hover.gif", 59 "res/table-remove-row.gif", 60 ]