Bug 1768393 - Use the snap position on the axis only if the scroll snap strictness...
[gecko.git] / accessible / xpcom / moz.build
blob2ce13081a2b0731a0a3419892b421446e8643b7a
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 UNIFIED_SOURCES += [
8     "nsAccessibleRelation.cpp",
9     "xpcAccessibilityService.cpp",
10     "xpcAccessible.cpp",
11     "xpcAccessibleApplication.cpp",
12     "xpcAccessibleDocument.cpp",
13     "xpcAccessibleGeneric.cpp",
14     "xpcAccessibleHyperLink.cpp",
15     "xpcAccessibleHyperText.cpp",
16     "xpcAccessibleImage.cpp",
17     "xpcAccessiblePivot.cpp",
18     "xpcAccessibleSelectable.cpp",
19     "xpcAccessibleTable.cpp",
20     "xpcAccessibleTableCell.cpp",
21     "xpcAccessibleTextLeafRange.cpp",
22     "xpcAccessibleTextRange.cpp",
23     "xpcAccessibleValue.cpp",
26 SOURCES += [
27     "!xpcAccEvents.cpp",
30 EXPORTS += [
31     "!xpcAccEvents.h",
32     "xpcAccessibilityService.h",
35 LOCAL_INCLUDES += [
36     "/accessible/base",
37     "/accessible/basetypes",
38     "/accessible/generic",
41 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
42     LOCAL_INCLUDES += [
43         "/accessible/atk",
44     ]
45 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
46     LOCAL_INCLUDES += [
47         "/accessible/windows/msaa",
48     ]
49 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
50     LOCAL_INCLUDES += [
51         "/accessible/ipc",
52         "/accessible/mac",
53     ]
54     UNIFIED_SOURCES += ["xpcAccessibleMacInterface.mm"]
55     EXPORTS += [
56         "xpcAccessibleMacInterface.h",
57     ]
58 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
59     LOCAL_INCLUDES += [
60         "/accessible/android",
61     ]
62 else:
63     LOCAL_INCLUDES += [
64         "/accessible/other",
65     ]
68 GeneratedFile(
69     "xpcAccEvents.h",
70     "xpcAccEvents.cpp",
71     script="AccEventGen.py",
72     entry_point="gen_files",
73     inputs=[
74         "AccEvents.conf",
75     ],
78 FINAL_LIBRARY = "xul"
80 include("/ipc/chromium/chromium-config.mozbuild")