Bug 1890277: part 4) Add CSPParser support for the `trusted-types` directive, guarded...
[gecko.git] / accessible / ipc / moz.build
blob462018fb935ab6055119641283ce5a729c6c89fb
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     LOCAL_INCLUDES += [
9         "/accessible/windows/ia2",
10         "/accessible/windows/msaa",
11     ]
12 else:
13     if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
14         LOCAL_INCLUDES += [
15             "/accessible/atk",
16         ]
17     elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
18         LOCAL_INCLUDES += [
19             "/accessible/mac",
20         ]
21     elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit":
22         LOCAL_INCLUDES += [
23             "/accessible/ios",
24         ]
25     else:
26         LOCAL_INCLUDES += [
27             "/accessible/other",
28         ]
30 if CONFIG["ACCESSIBILITY"]:
31     PREPROCESSED_IPDL_SOURCES += [
32         "PDocAccessible.ipdl",
33     ]
34     IPDL_SOURCES += [
35         "DocAccessibleTypes.ipdlh",
36     ]
38 EXPORTS.mozilla.a11y += [
39     "IPCTypes.h",
42 if CONFIG["ACCESSIBILITY"]:
43     EXPORTS.mozilla.a11y += [
44         "DocAccessibleChild.h",
45         "DocAccessibleParent.h",
46         "RemoteAccessible.h",
47     ]
49     UNIFIED_SOURCES += [
50         "DocAccessibleChild.cpp",
51         "DocAccessibleParent.cpp",
52         "RemoteAccessible.cpp",
53     ]
55     LOCAL_INCLUDES += [
56         "/accessible/base",
57         "/accessible/generic",
58         "/accessible/xpcom",
59     ]
61 include("/ipc/chromium/chromium-config.mozbuild")
63 FINAL_LIBRARY = "xul"
65 # Add libFuzzer configuration directives
66 include("/tools/fuzzing/libfuzzer-config.mozbuild")