Commit 971775cd authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1747502 - Move A11Y_LOG to python configure. r=firefox-build-system-reviewers,mhentges

parent f094186c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1691,14 +1691,6 @@ if test -n "$MOZ_DEV_EDITION"; then
    AC_DEFINE(MOZ_DEV_EDITION)
fi

if test "$MOZ_DEBUG" -o "$DEVELOPER_OPTIONS"; then
    A11Y_LOG=1
fi
AC_SUBST(A11Y_LOG)
if test -n "$A11Y_LOG"; then
    AC_DEFINE(A11Y_LOG)
fi

dnl Windows AccessibilityHandler
dnl ========================================================

+9 −0
Original line number Diff line number Diff line
@@ -1430,6 +1430,15 @@ set_config("ACCESSIBILITY", accessibility)
set_define("ACCESSIBILITY", accessibility)


@depends(moz_debug, developer_options)
def a11y_log(debug, developer_options):
    return debug or developer_options


set_config("A11Y_LOG", True, when=a11y_log)
set_define("A11Y_LOG", True, when=a11y_log)


# Addon signing
# ==============================================================
@depends(milestone)