moz.build 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- Mode: python; c-basic-offset: 4; 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. if CONFIG['COMPILE_ENVIRONMENT']:
  6. DIRS += ['typelib']
  7. # With --disable-accessibility, we need to compile PDocAccessible.ipdl (which
  8. # also depends on COMPtrTypes.h), but not the C++.
  9. IPDL_SOURCES += ['PDocAccessible.ipdl']
  10. EXPORTS.mozilla.a11y += ['COMPtrTypes.h']
  11. if CONFIG['ACCESSIBILITY']:
  12. EXPORTS.mozilla.a11y += [
  13. 'DocAccessibleChild.h',
  14. 'PlatformChild.h',
  15. 'ProxyAccessible.h'
  16. ]
  17. SOURCES += [
  18. 'COMPtrTypes.cpp',
  19. 'DocAccessibleChild.cpp',
  20. 'PlatformChild.cpp',
  21. 'ProxyAccessible.cpp',
  22. ]
  23. LOCAL_INCLUDES += [
  24. '/accessible/base',
  25. '/accessible/generic',
  26. '/accessible/windows/ia2',
  27. '/accessible/windows/msaa',
  28. '/accessible/xpcom',
  29. ]
  30. include('/ipc/chromium/chromium-config.mozbuild')
  31. FINAL_LIBRARY = 'xul'