moz.build (1662B)
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/. 6 7 EXPORTS.mozilla.a11y += [ 8 "DocAccessible.h", 9 "HyperTextAccessible.h", 10 "LocalAccessible.h", 11 "OuterDocAccessible.h", 12 ] 13 14 UNIFIED_SOURCES += [ 15 "ApplicationAccessible.cpp", 16 "ARIAGridAccessible.cpp", 17 "BaseAccessibles.cpp", 18 "DocAccessible.cpp", 19 "FormControlAccessible.cpp", 20 "HyperTextAccessible.cpp", 21 "ImageAccessible.cpp", 22 "LocalAccessible.cpp", 23 "OuterDocAccessible.cpp", 24 "RootAccessible.cpp", 25 "TextLeafAccessible.cpp", 26 ] 27 28 LOCAL_INCLUDES += [ 29 "/accessible/base", 30 "/accessible/html", 31 "/accessible/xpcom", 32 "/accessible/xul", 33 "/dom/base", 34 "/dom/xul", 35 "/layout/generic", 36 "/layout/xul", 37 ] 38 39 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 40 LOCAL_INCLUDES += [ 41 "/accessible/atk", 42 ] 43 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": 44 LOCAL_INCLUDES += [ 45 "/accessible/windows/ia2", 46 "/accessible/windows/msaa", 47 ] 48 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": 49 LOCAL_INCLUDES += [ 50 "/accessible/mac", 51 ] 52 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android": 53 LOCAL_INCLUDES += [ 54 "/accessible/android", 55 ] 56 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit": 57 LOCAL_INCLUDES += [ 58 "/accessible/ios", 59 ] 60 else: 61 LOCAL_INCLUDES += [ 62 "/accessible/other", 63 ] 64 65 FINAL_LIBRARY = "xul" 66 67 include("/ipc/chromium/chromium-config.mozbuild")