Bug 1669129 - [devtools] Enable devtools.overflow.debugging.enabled. r=jdescottes
[gecko.git] / accessible / ipc / moz.build
blob57d7310050264eca4ca2ec3a98f5c46259969914
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['OS_ARCH'] == 'WINNT':
8     DIRS += ['win']
9     LOCAL_INCLUDES += [
10         '/accessible/ipc/win',
11         '/accessible/windows/ia2',
12         '/accessible/windows/msaa',
13     ]
14 else:
15     DIRS += ['other', 'extension']
16     LOCAL_INCLUDES += [
17         '/accessible/ipc/other',
18     ]
19     if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
20         LOCAL_INCLUDES += [
21             '/accessible/atk',
22         ]
23     elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
24         LOCAL_INCLUDES += [
25             '/accessible/mac',
26         ]
27     elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
28         LOCAL_INCLUDES += [
29             '/accessible/android',
30         ]
31     else:
32         LOCAL_INCLUDES += [
33             '/accessible/other',
34         ]
36 EXPORTS.mozilla.a11y += [
37     'IPCTypes.h',
40 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
41     CXXFLAGS += ['-Wno-error=shadow']
43 if CONFIG['ACCESSIBILITY']:
44     EXPORTS.mozilla.a11y += [
45         'DocAccessibleChildBase.h',
46         'DocAccessibleParent.h',
47         'ProxyAccessibleBase.h',
48         'ProxyAccessibleShared.h',
49     ]
51     UNIFIED_SOURCES += [
52         'DocAccessibleChildBase.cpp',
53         'DocAccessibleParent.cpp',
54         'ProxyAccessibleBase.cpp',
55     ]
57     LOCAL_INCLUDES += [
58         '/accessible/base',
59         '/accessible/generic',
60         '/accessible/xpcom',
61     ]
63 include('/ipc/chromium/chromium-config.mozbuild')
65 FINAL_LIBRARY = 'xul'
67 # Add libFuzzer configuration directives
68 include('/tools/fuzzing/libfuzzer-config.mozbuild')