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/.
18 "AccessibleApplication",
19 "AccessibleComponent",
21 "AccessibleEditableText",
22 "AccessibleHyperlink",
23 "AccessibleHypertext",
24 "AccessibleHypertext2",
29 "AccessibleTableCell",
32 "AccessibleTextSelectionContainer",
36 for enum in midl_enums:
39 inputs=["/other-licenses/ia2/" + enum + ".idl"],
40 script="/build/midl.py",
42 flags=["-app_config", "-I", TOPSRCDIR + "/other-licenses/ia2"],
45 EXPORTS += ["!" + enum + ".h"]
47 for iface in midl_interfaces:
53 inputs=["/other-licenses/ia2/" + iface + ".idl"],
54 script="/build/midl.py",
59 TOPSRCDIR + "/other-licenses/ia2",
61 OBJDIR + "/" + iface + "_dlldata.c",
65 EXPORTS += ["!" + iface + ".h", "!" + iface + "_i.c"]
67 for p in [iface + "_p.c", iface + "_i.c"]:
68 SOURCES += ["!%s" % p]
70 # Give some symbols a unique name in each translation unit, to avoid
71 # collisions caused by https://llvm.org/pr41817.
72 if CONFIG["CC_TYPE"] == "clang-cl":
73 SOURCES["!%s" % p].flags += [
74 "-DObject_StubDesc=Object_StubDesc__%s" % p[:-2]
76 SOURCES["!%s" % p].flags += [
77 "-DUserMarshalRoutines=UserMarshalRoutines__%s" % p[:-2]
84 inputs=["IA2Typelib.idl"],
85 script="/build/midl.py",
90 TOPSRCDIR + "/other-licenses/ia2",