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

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows" and CONFIG["COMPILE_ENVIRONMENT"]:
    DIRS += ["msaa", "ia2"]

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
    XPIDL_SOURCES += ["nsIAccessibleMacInterface.idl"]

XPIDL_SOURCES += [
    "nsIAccessibilityService.idl",
    "nsIAccessible.idl",
    "nsIAccessibleAnnouncementEvent.idl",
    "nsIAccessibleApplication.idl",
    "nsIAccessibleCaretMoveEvent.idl",
    "nsIAccessibleDocument.idl",
    "nsIAccessibleEditableText.idl",
    "nsIAccessibleEvent.idl",
    "nsIAccessibleHideEvent.idl",
    "nsIAccessibleHyperLink.idl",
    "nsIAccessibleHyperText.idl",
    "nsIAccessibleImage.idl",
    "nsIAccessibleObjectAttributeChangedEvent.idl",
    "nsIAccessiblePivot.idl",
    "nsIAccessibleRelation.idl",
    "nsIAccessibleRole.idl",
    "nsIAccessibleScrollingEvent.idl",
    "nsIAccessibleSelectable.idl",
    "nsIAccessibleStateChangeEvent.idl",
    "nsIAccessibleStates.idl",
    "nsIAccessibleTable.idl",
    "nsIAccessibleTableChangeEvent.idl",
    "nsIAccessibleText.idl",
    "nsIAccessibleTextChangeEvent.idl",
    "nsIAccessibleTextLeafRange.idl",
    "nsIAccessibleTextRange.idl",
    "nsIAccessibleTextSelectionChangeEvent.idl",
    "nsIAccessibleTypes.idl",
    "nsIAccessibleValue.idl",
]

XPIDL_MODULE = "accessibility"
