moz.build 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. EXPORTS.mozilla.a11y += [
  6. 'AccessibleWrap.h',
  7. 'HyperTextAccessibleWrap.h',
  8. ]
  9. SOURCES += [
  10. 'AccessibleWrap.cpp',
  11. 'ApplicationAccessibleWrap.cpp',
  12. 'AtkSocketAccessible.cpp',
  13. 'DocAccessibleWrap.cpp',
  14. 'nsMaiHyperlink.cpp',
  15. 'nsMaiInterfaceAction.cpp',
  16. 'nsMaiInterfaceComponent.cpp',
  17. 'nsMaiInterfaceDocument.cpp',
  18. 'nsMaiInterfaceEditableText.cpp',
  19. 'nsMaiInterfaceHyperlinkImpl.cpp',
  20. 'nsMaiInterfaceHypertext.cpp',
  21. 'nsMaiInterfaceImage.cpp',
  22. 'nsMaiInterfaceSelection.cpp',
  23. 'nsMaiInterfaceTable.cpp',
  24. 'nsMaiInterfaceTableCell.cpp',
  25. 'nsMaiInterfaceText.cpp',
  26. 'nsMaiInterfaceValue.cpp',
  27. 'Platform.cpp',
  28. 'RootAccessibleWrap.cpp',
  29. 'UtilInterface.cpp',
  30. ]
  31. LOCAL_INCLUDES += [
  32. '/accessible/base',
  33. '/accessible/generic',
  34. '/accessible/html',
  35. '/accessible/ipc',
  36. '/accessible/ipc/other',
  37. '/accessible/xpcom',
  38. '/accessible/xul',
  39. '/other-licenses/atk-1.0',
  40. ]
  41. FINAL_LIBRARY = 'xul'
  42. if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  43. CFLAGS += CONFIG['TK_CFLAGS']
  44. CXXFLAGS += CONFIG['TK_CFLAGS']
  45. if CONFIG['MOZ_ENABLE_DBUS']:
  46. CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
  47. include('/ipc/chromium/chromium-config.mozbuild')
  48. if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
  49. # Used in G_DEFINE_TYPE_EXTENDED macro, probably fixed in newer glib /
  50. # gobject headers. See bug 1243331 comment 3.
  51. CXXFLAGS += [
  52. '-Wno-error=shadow',
  53. '-Wno-unused-local-typedefs',
  54. ]