mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 935548 - Move A11Y_LOG to configure; r=glandium
This commit is contained in:
parent
00a40671d5
commit
d6f9ace655
@ -12,7 +12,3 @@ endif
|
|||||||
ifdef MOZ_ENABLE_DBUS
|
ifdef MOZ_ENABLE_DBUS
|
||||||
CXXFLAGS += $(MOZ_DBUS_CFLAGS)
|
CXXFLAGS += $(MOZ_DBUS_CFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
||||||
|
@ -7,7 +7,3 @@ include $(topsrcdir)/config/rules.mk
|
|||||||
ifdef MOZ_ENABLE_GTK
|
ifdef MOZ_ENABLE_GTK
|
||||||
CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
include('../shared.mozbuild')
|
|
||||||
|
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
'AccEvent.h',
|
'AccEvent.h',
|
||||||
'nsAccessibilityService.h'
|
'nsAccessibilityService.h'
|
||||||
@ -53,7 +51,7 @@ UNIFIED_SOURCES += [
|
|||||||
'TreeWalker.cpp',
|
'TreeWalker.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if a11y_log:
|
if CONFIG['A11Y_LOG']:
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Logging.cpp',
|
'Logging.cpp',
|
||||||
]
|
]
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
# 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/.
|
|
||||||
|
|
||||||
A11Y_LOG = 0
|
|
||||||
ifdef MOZ_DEBUG
|
|
||||||
A11Y_LOG = 1
|
|
||||||
endif
|
|
||||||
ifeq (,$(filter aurora beta release esr,$(MOZ_UPDATE_CHANNEL)))
|
|
||||||
A11Y_LOG = 1
|
|
||||||
endif
|
|
@ -1,9 +0,0 @@
|
|||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -1,10 +0,0 @@
|
|||||||
#
|
|
||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -1,9 +0,0 @@
|
|||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -1,9 +0,0 @@
|
|||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -1,12 +0,0 @@
|
|||||||
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
||||||
|
|
||||||
a11y_log = 0
|
|
||||||
if CONFIG['MOZ_DEBUG']:
|
|
||||||
a11y_log = 1
|
|
||||||
|
|
||||||
if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('aurora', 'beta', 'release', 'esr'):
|
|
||||||
a11y_log = 1
|
|
@ -1,10 +0,0 @@
|
|||||||
#
|
|
||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -7,7 +7,3 @@
|
|||||||
OS_CXXFLAGS += -DNOMINMAX
|
OS_CXXFLAGS += -DNOMINMAX
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
ifdef A11Y_LOG
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
@ -7,7 +7,3 @@
|
|||||||
OS_CXXFLAGS += -DNOMINMAX
|
OS_CXXFLAGS += -DNOMINMAX
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
ifdef A11Y_LOG
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
||||||
|
@ -11,10 +11,6 @@ xpcaccevents_TARGET := export
|
|||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
||||||
|
|
||||||
xpcAccEvents.cpp: $(srcdir)/AccEvents.conf \
|
xpcAccEvents.cpp: $(srcdir)/AccEvents.conf \
|
||||||
$(srcdir)/AccEventGen.py \
|
$(srcdir)/AccEventGen.py \
|
||||||
$(LIBXUL_DIST)/sdk/bin/header.py \
|
$(LIBXUL_DIST)/sdk/bin/header.py \
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
#
|
|
||||||
# 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/.
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
|
||||||
|
|
||||||
ifneq ($(A11Y_LOG),0)
|
|
||||||
DEFINES += -DA11Y_LOG
|
|
||||||
endif
|
|
15
configure.in
15
configure.in
@ -8698,6 +8698,21 @@ if test "$ACCESSIBILITY" -a "$MOZ_ENABLE_GTK" ; then
|
|||||||
AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
|
AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$MOZ_DEBUG"; then
|
||||||
|
A11Y_LOG=1
|
||||||
|
fi
|
||||||
|
case "$MOZ_UPDATE_CHANNEL" in
|
||||||
|
aurora|beta|release|esr)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
A11Y_LOG=1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(A11Y_LOG)
|
||||||
|
if test -n "$A11Y_LOG"; then
|
||||||
|
AC_DEFINE(A11Y_LOG)
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST(MOZILLA_VERSION)
|
AC_SUBST(MOZILLA_VERSION)
|
||||||
|
|
||||||
AC_SUBST(ac_configure_args)
|
AC_SUBST(ac_configure_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user