util.gyp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # This Source Code Form is subject to the terms of the Mozilla Public
  2. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4. {
  5. 'includes': [
  6. '../../coreconf/config.gypi'
  7. ],
  8. 'targets': [
  9. {
  10. 'target_name': 'nssutil',
  11. 'type': 'static_library',
  12. 'sources': [
  13. 'derdec.c',
  14. 'derenc.c',
  15. 'dersubr.c',
  16. 'dertime.c',
  17. 'errstrs.c',
  18. 'nssb64d.c',
  19. 'nssb64e.c',
  20. 'nssilock.c',
  21. 'nssrwlk.c',
  22. 'oidstring.c',
  23. 'pkcs1sig.c',
  24. 'pkcs11uri.c',
  25. 'portreg.c',
  26. 'quickder.c',
  27. 'secalgid.c',
  28. 'secasn1d.c',
  29. 'secasn1e.c',
  30. 'secasn1u.c',
  31. 'secdig.c',
  32. 'secitem.c',
  33. 'secload.c',
  34. 'secoid.c',
  35. 'secport.c',
  36. 'sectime.c',
  37. 'templates.c',
  38. 'utf8.c',
  39. 'utilmod.c',
  40. 'utilpars.c'
  41. ],
  42. 'dependencies': [
  43. '<(DEPTH)/exports.gyp:nss_exports'
  44. ]
  45. },
  46. {
  47. 'target_name': 'nssutil3',
  48. 'type': 'shared_library',
  49. 'dependencies': [
  50. 'nssutil'
  51. ],
  52. 'variables': {
  53. 'mapfile': 'nssutil.def'
  54. }
  55. }
  56. ],
  57. 'variables': {
  58. 'module': 'nss'
  59. }
  60. }