accessible/atk/moz.build
author Andreas Farre <farre@mozilla.com>
Sun, 05 May 2019 19:26:51 +0000
changeset 472634 f59b3336d254c80bf2b315a74fea0cb0fa8e0d47
parent 445153 49414dd9aab5a6779ee4d33212f857c3cf9ff2d1
child 489301 51bf6a97396d96ddb82fa91c2cf9bd9f5bc9ae06
permissions -rw-r--r--
Bug 1547911 - Don't assert that there are no children when restoring BC. r=nika This is essentially equal to restoring cached children and removing current children from a BrowsingContext, which is the correct behaviour. It would've been better if the current children were removed in a more transparent manner, but it is more important to remove an assert that too eagerly triggers. Differential Revision: https://phabricator.services.mozilla.com/D29945

# -*- 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/.

EXPORTS.mozilla.a11y += [
    'AccessibleWrap.h',
    'HyperTextAccessibleWrap.h',
]

SOURCES += [
    'AccessibleWrap.cpp',
    'ApplicationAccessibleWrap.cpp',
    'AtkSocketAccessible.cpp',
    'DocAccessibleWrap.cpp',
    'DOMtoATK.cpp',
    'nsMaiHyperlink.cpp',
    'nsMaiInterfaceAction.cpp',
    'nsMaiInterfaceComponent.cpp',
    'nsMaiInterfaceDocument.cpp',
    'nsMaiInterfaceEditableText.cpp',
    'nsMaiInterfaceHyperlinkImpl.cpp',
    'nsMaiInterfaceHypertext.cpp',
    'nsMaiInterfaceImage.cpp',
    'nsMaiInterfaceSelection.cpp',
    'nsMaiInterfaceTable.cpp',
    'nsMaiInterfaceTableCell.cpp',
    'nsMaiInterfaceText.cpp',
    'nsMaiInterfaceValue.cpp',
    'Platform.cpp',
    'RootAccessibleWrap.cpp',
    'UtilInterface.cpp',
]

LOCAL_INCLUDES += [
    '/accessible/base',
    '/accessible/generic',
    '/accessible/html',
    '/accessible/ipc',
    '/accessible/ipc/other',
    '/accessible/xpcom',
    '/accessible/xul',
    '/other-licenses/atk-1.0',
]

FINAL_LIBRARY = 'xul'

if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    CFLAGS += CONFIG['TK_CFLAGS']
    CXXFLAGS += CONFIG['TK_CFLAGS']

if CONFIG['MOZ_ENABLE_DBUS']:
    CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']

include('/ipc/chromium/chromium-config.mozbuild')

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
    # Used in G_DEFINE_TYPE_EXTENDED macro, probably fixed in newer glib /
    # gobject headers. See bug 1243331 comment 3.
    CXXFLAGS += [
        '-Wno-error=unused-function',
        '-Wno-error=shadow',
        '-Wno-unused-local-typedefs',
    ]