moz.build 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. TEST_DIRS += [
  6. 'external',
  7. 'component',
  8. 'bug656331_component',
  9. 'component_no_aslr',
  10. 'gtest',
  11. ]
  12. if CONFIG['OS_ARCH'] == 'WINNT':
  13. TEST_DIRS += ['windows']
  14. EXPORTS.testing += [
  15. 'TestHarness.h',
  16. ]
  17. SimplePrograms([
  18. 'TestArguments',
  19. 'TestBlockingProcess',
  20. 'TestPRIntN',
  21. 'TestQuickReturn',
  22. 'TestUnicodeArguments',
  23. ])
  24. XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
  25. if CONFIG['COMPILE_ENVIRONMENT']:
  26. TEST_HARNESS_FILES.xpcshell.xpcom.tests.unit += [
  27. '!/dist/bin/components/xpcomtest.xpt',
  28. ]
  29. XPIDL_MODULE = 'xpcomtest'
  30. XPIDL_SOURCES += [
  31. 'NotXPCOMTest.idl',
  32. ]
  33. # Don't add our test-only .xpt files to the normal manifests
  34. XPIDL_NO_MANIFEST = True
  35. LOCAL_INCLUDES += [
  36. '../ds',
  37. ]
  38. RESOURCE_FILES += [
  39. 'test.properties',
  40. ]