moz.build 920 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. with Files('**'):
  6. BUG_COMPONENT = ('Core', 'XPCOM')
  7. DIRS += [
  8. 'idl-parser/xpidl',
  9. ]
  10. DIRS += [
  11. 'typelib',
  12. 'string',
  13. 'glue',
  14. 'base',
  15. 'ds',
  16. 'io',
  17. 'components',
  18. 'threads',
  19. 'reflect',
  20. 'system',
  21. '../chrome',
  22. 'build',
  23. ]
  24. if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEBUG']:
  25. DIRS += ['windbgdlg']
  26. TEST_DIRS += [
  27. 'tests',
  28. ]
  29. # Can't build internal xptcall tests that use symbols which are not exported.
  30. #TEST_DIRS += [
  31. # 'reflect/xptinfo/tests',
  32. # 'reflect/xptcall/tests,
  33. #]
  34. CONFIGURE_DEFINE_FILES += [
  35. 'xpcom-config.h',
  36. 'xpcom-private.h',
  37. ]
  38. EXPORTS += [
  39. '!xpcom-config.h',
  40. ]