2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# 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/.
|
|
|
|
|
2014-09-26 08:20:22 +04:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
2014-06-26 02:08:20 +04:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIEditingSession.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'composer'
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2018-01-26 08:06:29 +03:00
|
|
|
'ComposerCommandsUpdater.cpp',
|
2014-06-26 02:08:20 +04:00
|
|
|
'nsEditingSession.cpp',
|
2018-01-18 15:01:13 +03:00
|
|
|
]
|
|
|
|
|
2018-09-08 19:38:01 +03:00
|
|
|
EXPORTS += [
|
|
|
|
'nsEditingSession.h',
|
|
|
|
]
|
|
|
|
|
2018-01-18 15:01:13 +03:00
|
|
|
EXPORTS.mozilla += [
|
2018-01-26 08:06:29 +03:00
|
|
|
'ComposerCommandsUpdater.h',
|
2014-06-26 02:08:20 +04:00
|
|
|
]
|
|
|
|
|
2019-01-02 16:05:23 +03:00
|
|
|
# Needed because we include HTMLEditor.h which indirectly includes Document.h
|
2016-08-24 15:53:52 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
2018-01-26 09:00:49 +03:00
|
|
|
'/dom/html', # For nsHTMLDocument
|
2018-03-02 06:56:44 +03:00
|
|
|
'/editor/spellchecker', # nsComposeTxtSrvFilter.h
|
2018-01-26 09:00:49 +03:00
|
|
|
'/layout/style', # For things nsHTMLDocument includes.
|
2016-08-24 15:53:52 +03:00
|
|
|
]
|
|
|
|
|
2014-06-26 02:08:20 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
RESOURCE_FILES += [
|
|
|
|
'res/EditorOverride.css',
|
|
|
|
'res/grabber.gif',
|
|
|
|
'res/table-add-column-after-active.gif',
|
|
|
|
'res/table-add-column-after-hover.gif',
|
|
|
|
'res/table-add-column-after.gif',
|
|
|
|
'res/table-add-column-before-active.gif',
|
|
|
|
'res/table-add-column-before-hover.gif',
|
|
|
|
'res/table-add-column-before.gif',
|
|
|
|
'res/table-add-row-after-active.gif',
|
|
|
|
'res/table-add-row-after-hover.gif',
|
|
|
|
'res/table-add-row-after.gif',
|
|
|
|
'res/table-add-row-before-active.gif',
|
|
|
|
'res/table-add-row-before-hover.gif',
|
|
|
|
'res/table-add-row-before.gif',
|
|
|
|
'res/table-remove-column-active.gif',
|
|
|
|
'res/table-remove-column-hover.gif',
|
|
|
|
'res/table-remove-column.gif',
|
|
|
|
'res/table-remove-row-active.gif',
|
|
|
|
'res/table-remove-row-hover.gif',
|
|
|
|
'res/table-remove-row.gif',
|
|
|
|
]
|
2016-05-11 10:00:01 +03:00
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|