2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2014-03-08 01:35:19 +04:00
|
|
|
# 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/.
|
|
|
|
|
2016-08-16 02:14:53 +03:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
DIRS += ['win']
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/accessible/ipc/win',
|
|
|
|
'/accessible/windows/ia2',
|
|
|
|
'/accessible/windows/msaa',
|
2014-03-08 01:35:19 +04:00
|
|
|
]
|
2016-08-16 02:14:53 +03:00
|
|
|
else:
|
|
|
|
DIRS += ['other']
|
2014-03-08 01:35:19 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2016-08-16 02:14:53 +03:00
|
|
|
'/accessible/ipc/other',
|
2014-03-08 01:35:19 +04:00
|
|
|
]
|
2016-03-16 07:47:26 +03:00
|
|
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
2015-03-23 00:44:12 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/accessible/atk',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/accessible/mac',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/accessible/other',
|
|
|
|
]
|
|
|
|
|
2016-12-02 02:28:54 +03:00
|
|
|
EXPORTS.mozilla.a11y += [
|
|
|
|
'IPCTypes.h',
|
|
|
|
]
|
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-08-16 02:14:53 +03:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
|
|
|
|
if CONFIG['ACCESSIBILITY']:
|
|
|
|
EXPORTS.mozilla.a11y += [
|
|
|
|
'DocAccessibleChildBase.h',
|
|
|
|
'DocAccessibleParent.h',
|
2016-08-19 22:16:42 +03:00
|
|
|
'ProxyAccessibleBase.h',
|
2016-09-21 21:05:45 +03:00
|
|
|
'ProxyAccessibleShared.h',
|
2016-08-16 02:14:53 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'DocAccessibleChildBase.cpp',
|
|
|
|
'DocAccessibleParent.cpp',
|
2016-08-19 22:16:42 +03:00
|
|
|
'ProxyAccessibleBase.cpp',
|
2016-08-16 02:14:53 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/accessible/base',
|
|
|
|
'/accessible/generic',
|
|
|
|
'/accessible/xpcom',
|
|
|
|
]
|
2014-03-08 01:35:19 +04:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2016-05-11 10:00:01 +03:00
|
|
|
|
2016-08-16 02:14:53 +03:00
|
|
|
FINAL_LIBRARY = 'xul'
|