moz.build 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 += [
  6. 'ia2Accessible.h',
  7. 'ia2AccessibleAction.h',
  8. 'ia2AccessibleComponent.h',
  9. 'ia2AccessibleEditableText.h',
  10. 'ia2AccessibleHyperlink.h',
  11. 'ia2AccessibleHypertext.h',
  12. 'ia2AccessibleText.h',
  13. 'ia2AccessibleValue.h',
  14. ]
  15. SOURCES += [
  16. 'ia2Accessible.cpp',
  17. 'ia2AccessibleAction.cpp',
  18. 'ia2AccessibleComponent.cpp',
  19. 'ia2AccessibleEditableText.cpp',
  20. 'ia2AccessibleHyperlink.cpp',
  21. 'ia2AccessibleHypertext.cpp',
  22. 'ia2AccessibleImage.cpp',
  23. 'ia2AccessibleRelation.cpp',
  24. 'ia2AccessibleText.cpp',
  25. 'ia2AccessibleValue.cpp',
  26. ]
  27. # These files cannot be built in unified mode because they both include
  28. # AccessibleTable2_i.c.
  29. SOURCES += [
  30. 'ia2AccessibleTable.cpp',
  31. 'ia2AccessibleTableCell.cpp',
  32. ]
  33. LOCAL_INCLUDES += [
  34. '/accessible/base',
  35. '/accessible/generic',
  36. '/accessible/html',
  37. '/accessible/windows',
  38. '/accessible/windows/msaa',
  39. '/accessible/xpcom',
  40. '/accessible/xul',
  41. ]
  42. FINAL_LIBRARY = 'xul'
  43. # The Windows MIDL code generator creates things like:
  44. #
  45. # #endif !_MIDL_USE_GUIDDEF_
  46. #
  47. # which clang-cl complains about. MSVC doesn't, so turn this warning off.
  48. if CONFIG['CLANG_CL']:
  49. CXXFLAGS += ['-Wno-extra-tokens']
  50. include('/ipc/chromium/chromium-config.mozbuild')