moz.build 860 B

12345678910111213141516171819202122232425
  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. XPIDL_SOURCES += [
  6. 'xpctest_attributes.idl',
  7. 'xpctest_bug809674.idl',
  8. 'xpctest_interfaces.idl',
  9. 'xpctest_params.idl',
  10. 'xpctest_returncode.idl',
  11. 'xpctest_utils.idl',
  12. ]
  13. XPIDL_MODULE = 'xpctest'
  14. # XXX: This relies on xpctest.xpt being created in dist/bin/components/ during
  15. # the export tier AND TEST_HARNESS_FILES being processed after that.
  16. TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.native.components += [
  17. '!/dist/bin/components/xpctest.xpt',
  18. ]
  19. TEST_HARNESS_FILES.xpcshell.js.xpconnect.tests.components.js += [
  20. '!/dist/bin/components/xpctest.xpt',
  21. ]