Bug 1890277: part 4) Add CSPParser support for the `trusted-types` directive, guarded...
[gecko.git] / accessible / base / moz.build
blobde8e75f0e1a7c57a3017f30b2890ec56bc05b8ec
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 GeneratedFile(
8     "RelationType.h",
9     script="/accessible/base/RelationTypeGen.py",
10     entry_point="generate",
11     inputs=["/accessible/interfaces/nsIAccessibleRelation.idl"],
13 GeneratedFile(
14     "Role.h",
15     script="/accessible/base/RoleHGen.py",
16     entry_point="generate",
17     inputs=["/accessible/interfaces/nsIAccessibleRole.idl"],
20 EXPORTS += ["AccEvent.h", "nsAccessibilityService.h"]
22 EXPORTS.mozilla.a11y += [
23     "!RelationType.h",
24     "!Role.h",
25     "AccAttributes.h",
26     "AccGroupInfo.h",
27     "AccTypes.h",
28     "CacheConstants.h",
29     "DocManager.h",
30     "FocusManager.h",
31     "IDSet.h",
32     "Platform.h",
33     "SelectionManager.h",
34     "States.h",
37 if CONFIG["MOZ_DEBUG"]:
38     EXPORTS.mozilla.a11y += [
39         "Logging.h",
40     ]
42 UNIFIED_SOURCES += [
43     "AccAttributes.cpp",
44     "AccEvent.cpp",
45     "AccGroupInfo.cpp",
46     "AccIterator.cpp",
47     "ARIAMap.cpp",
48     "ARIAStateMap.cpp",
49     "Asserts.cpp",
50     "CachedTableAccessible.cpp",
51     "DocManager.cpp",
52     "EmbeddedObjCollector.cpp",
53     "EventQueue.cpp",
54     "EventTree.cpp",
55     "Filters.cpp",
56     "FocusManager.cpp",
57     "NotificationController.cpp",
58     "nsAccessibilityService.cpp",
59     "nsAccUtils.cpp",
60     "nsCoreUtils.cpp",
61     "nsEventShell.cpp",
62     "nsTextEquivUtils.cpp",
63     "Pivot.cpp",
64     "SelectionManager.cpp",
65     "StyleInfo.cpp",
66     "TextAttrs.cpp",
67     "TextLeafRange.cpp",
68     "TextRange.cpp",
69     "TextUpdater.cpp",
70     "TreeWalker.cpp",
73 if CONFIG["A11Y_LOG"]:
74     UNIFIED_SOURCES += [
75         "Logging.cpp",
76     ]
78 LOCAL_INCLUDES += [
79     "/accessible/generic",
80     "/accessible/html",
81     "/accessible/ipc",
82     "/dom/base",
83     "/dom/xul",
86 LOCAL_INCLUDES += [
87     "/accessible/xpcom",
88     "/accessible/xul",
89     "/dom/base",
90     "/ipc/chromium/src",
91     "/layout/generic",
92     "/layout/style",
93     "/layout/xul",
94     "/layout/xul/tree/",
97 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
98     LOCAL_INCLUDES += [
99         "/accessible/atk",
100         "/gfx/cairo/cairo/src",
101     ]
102 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
103     LOCAL_INCLUDES += [
104         "/accessible/windows/ia2",
105         "/accessible/windows/msaa",
106     ]
107 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
108     LOCAL_INCLUDES += [
109         "/accessible/mac",
110     ]
111 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
112     LOCAL_INCLUDES += [
113         "/accessible/android",
114     ]
115 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit":
116     LOCAL_INCLUDES += [
117         "/accessible/ios",
118     ]
119 else:
120     LOCAL_INCLUDES += [
121         "/accessible/other",
122     ]
124 FINAL_LIBRARY = "xul"
126 include("/ipc/chromium/chromium-config.mozbuild")