moz.build 705 B

12345678910111213141516171819202122232425262728
  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. Library('nspr')
  6. if CONFIG['MOZ_BUILD_NSPR']:
  7. DIRS += [
  8. 'pr',
  9. 'ds',
  10. 'libc',
  11. ]
  12. if CONFIG['MOZ_FOLD_LIBS']:
  13. # When folding libraries, nspr is actually in the nss library.
  14. USE_LIBS += [
  15. 'nss',
  16. ]
  17. else:
  18. USE_LIBS += [
  19. 'nspr4',
  20. 'plc4',
  21. 'plds4',
  22. ]
  23. EXPORTS.nspr += ['prcpucfg.h']
  24. else:
  25. OS_LIBS += CONFIG['NSPR_LIBS']