editor/moz.build
author Hanna Jones <hjones@mozilla.com>
Mon, 06 Feb 2023 15:43:24 +0000
changeset 651875 bb03125cb4f395b0651a3c8cfddbb3ed8da41308
parent 618935 9aa6951d218501e409b24f325e6b9996104b28d4
permissions -rw-r--r--
Bug 1814989 - switch from image to html:img to fix info icons r=settings-reviewers,Gijs Differential Revision: https://phabricator.services.mozilla.com/D168855

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DIRS += [
    "libeditor",
    "spellchecker",
    "txmgr",
    "composer",
]

XPIDL_SOURCES += [
    "nsIDocumentStateListener.idl",
    "nsIEditActionListener.idl",
    "nsIEditor.idl",
    "nsIEditorMailSupport.idl",
    "nsIEditorSpellCheck.idl",
    "nsIHTMLAbsPosEditor.idl",
    "nsIHTMLEditor.idl",
    "nsIHTMLInlineTableEditor.idl",
    "nsIHTMLObjectResizer.idl",
    "nsITableEditor.idl",
]

XPIDL_MODULE = "editor"

TESTING_JS_MODULES += [
    "AsyncSpellCheckTestHelper.jsm",
]

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM: Editor")

SPHINX_TREES["/editor"] = "docs"

with Files("docs/**"):
    SCHEDULES.exclusive = ["docs"]

CXXFLAGS += CONFIG["MOZ_TRIVIAL_AUTO_VAR_INIT"]