accessible/aom/moz.build
author Eitan Isaacson <eitan@monotonous.org>
Mon, 14 May 2018 11:26:48 -0700
changeset 437068 1b683d101ee9eae43d7fee0bf2c0b6065c50bb16
parent 326028 1a73ed8c73a01f41b59dc09f2b6e834521dc1064
child 489301 51bf6a97396d96ddb82fa91c2cf9bd9f5bc9ae06
permissions -rw-r--r--
Bug 1479033 - Introduce Android accessibility directory. r=Jamie

# -*- 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.dom += [
    'AccessibleNode.h',
]

UNIFIED_SOURCES += [
    'AccessibleNode.cpp',
]

LOCAL_INCLUDES += [
    '/accessible/base',
    '/accessible/generic',
]

if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    LOCAL_INCLUDES += [
        '/accessible/atk',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    LOCAL_INCLUDES += [
        '/accessible/windows/ia2',
        '/accessible/windows/msaa',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    LOCAL_INCLUDES += [
        '/accessible/mac',
    ]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    LOCAL_INCLUDES += [
        '/accessible/android',
    ]
else:
    LOCAL_INCLUDES += [
        '/accessible/other',
    ]

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

FINAL_LIBRARY = 'xul'