Bug 1735777 [wpt PR 31236] - webrtc wpt: fix invalid unicode indexOf method call...
[gecko.git] / editor / composer / moz.build
blob48335a27046b7e1fa8543f181b026e9789a3c1ee
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/.
7 MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
9 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.ini"]
11 XPIDL_SOURCES += [
12     "nsIEditingSession.idl",
15 XPIDL_MODULE = "composer"
17 UNIFIED_SOURCES += [
18     "ComposerCommandsUpdater.cpp",
19     "nsEditingSession.cpp",
22 EXPORTS += [
23     "nsEditingSession.h",
26 EXPORTS.mozilla += [
27     "ComposerCommandsUpdater.h",
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.
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",
62 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
63     CXXFLAGS += ["-Wno-error=shadow"]