jfrog-cli-v2 2.49.2 → 2.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1544) hide show
  1. package/bin/{_ → jfrog} +0 -0
  2. package/init.js +4 -4
  3. package/package.json +1 -1
  4. package/node-v8.11.1-linux-x64/CHANGELOG.md +0 -1396
  5. package/node-v8.11.1-linux-x64/LICENSE +0 -1171
  6. package/node-v8.11.1-linux-x64/README.md +0 -601
  7. package/node-v8.11.1-linux-x64/bin/node +0 -0
  8. package/node-v8.11.1-linux-x64/include/node/android-ifaddrs.h +0 -54
  9. package/node-v8.11.1-linux-x64/include/node/common.gypi +0 -431
  10. package/node-v8.11.1-linux-x64/include/node/config.gypi +0 -63
  11. package/node-v8.11.1-linux-x64/include/node/libplatform/libplatform-export.h +0 -29
  12. package/node-v8.11.1-linux-x64/include/node/libplatform/libplatform.h +0 -83
  13. package/node-v8.11.1-linux-x64/include/node/libplatform/v8-tracing.h +0 -284
  14. package/node-v8.11.1-linux-x64/include/node/node.h +0 -782
  15. package/node-v8.11.1-linux-x64/include/node/node_api.h +0 -592
  16. package/node-v8.11.1-linux-x64/include/node/node_api_types.h +0 -115
  17. package/node-v8.11.1-linux-x64/include/node/node_buffer.h +0 -89
  18. package/node-v8.11.1-linux-x64/include/node/node_object_wrap.h +0 -132
  19. package/node-v8.11.1-linux-x64/include/node/node_version.h +0 -110
  20. package/node-v8.11.1-linux-x64/include/node/openssl/aes.h +0 -149
  21. package/node-v8.11.1-linux-x64/include/node/openssl/archs/BSD-x86/opensslconf.h +0 -270
  22. package/node-v8.11.1-linux-x64/include/node/openssl/archs/BSD-x86_64/opensslconf.h +0 -270
  23. package/node-v8.11.1-linux-x64/include/node/openssl/archs/VC-WIN32/opensslconf.h +0 -271
  24. package/node-v8.11.1-linux-x64/include/node/openssl/archs/VC-WIN64A/opensslconf.h +0 -271
  25. package/node-v8.11.1-linux-x64/include/node/openssl/archs/aix-gcc/opensslconf.h +0 -273
  26. package/node-v8.11.1-linux-x64/include/node/openssl/archs/aix64-gcc/opensslconf.h +0 -273
  27. package/node-v8.11.1-linux-x64/include/node/openssl/archs/darwin-i386-cc/opensslconf.h +0 -273
  28. package/node-v8.11.1-linux-x64/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h +0 -273
  29. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-aarch64/opensslconf.h +0 -270
  30. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-armv4/opensslconf.h +0 -270
  31. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-elf/opensslconf.h +0 -270
  32. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-ppc/opensslconf.h +0 -270
  33. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-ppc64/opensslconf.h +0 -270
  34. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-x32/opensslconf.h +0 -270
  35. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux-x86_64/opensslconf.h +0 -270
  36. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux32-s390x/opensslconf.h +0 -270
  37. package/node-v8.11.1-linux-x64/include/node/openssl/archs/linux64-s390x/opensslconf.h +0 -270
  38. package/node-v8.11.1-linux-x64/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h +0 -270
  39. package/node-v8.11.1-linux-x64/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +0 -270
  40. package/node-v8.11.1-linux-x64/include/node/openssl/asn1.h +0 -1420
  41. package/node-v8.11.1-linux-x64/include/node/openssl/asn1_mac.h +0 -579
  42. package/node-v8.11.1-linux-x64/include/node/openssl/asn1t.h +0 -973
  43. package/node-v8.11.1-linux-x64/include/node/openssl/bio.h +0 -883
  44. package/node-v8.11.1-linux-x64/include/node/openssl/blowfish.h +0 -130
  45. package/node-v8.11.1-linux-x64/include/node/openssl/bn.h +0 -951
  46. package/node-v8.11.1-linux-x64/include/node/openssl/buffer.h +0 -125
  47. package/node-v8.11.1-linux-x64/include/node/openssl/camellia.h +0 -132
  48. package/node-v8.11.1-linux-x64/include/node/openssl/cast.h +0 -107
  49. package/node-v8.11.1-linux-x64/include/node/openssl/cmac.h +0 -82
  50. package/node-v8.11.1-linux-x64/include/node/openssl/cms.h +0 -555
  51. package/node-v8.11.1-linux-x64/include/node/openssl/comp.h +0 -83
  52. package/node-v8.11.1-linux-x64/include/node/openssl/conf.h +0 -268
  53. package/node-v8.11.1-linux-x64/include/node/openssl/conf_api.h +0 -89
  54. package/node-v8.11.1-linux-x64/include/node/openssl/crypto.h +0 -661
  55. package/node-v8.11.1-linux-x64/include/node/openssl/des.h +0 -257
  56. package/node-v8.11.1-linux-x64/include/node/openssl/des_old.h +0 -497
  57. package/node-v8.11.1-linux-x64/include/node/openssl/dh.h +0 -412
  58. package/node-v8.11.1-linux-x64/include/node/openssl/dsa.h +0 -332
  59. package/node-v8.11.1-linux-x64/include/node/openssl/dso.h +0 -451
  60. package/node-v8.11.1-linux-x64/include/node/openssl/dtls1.h +0 -272
  61. package/node-v8.11.1-linux-x64/include/node/openssl/e_os2.h +0 -328
  62. package/node-v8.11.1-linux-x64/include/node/openssl/ebcdic.h +0 -26
  63. package/node-v8.11.1-linux-x64/include/node/openssl/ec.h +0 -1282
  64. package/node-v8.11.1-linux-x64/include/node/openssl/ecdh.h +0 -134
  65. package/node-v8.11.1-linux-x64/include/node/openssl/ecdsa.h +0 -335
  66. package/node-v8.11.1-linux-x64/include/node/openssl/engine.h +0 -960
  67. package/node-v8.11.1-linux-x64/include/node/openssl/err.h +0 -390
  68. package/node-v8.11.1-linux-x64/include/node/openssl/evp.h +0 -1628
  69. package/node-v8.11.1-linux-x64/include/node/openssl/hmac.h +0 -109
  70. package/node-v8.11.1-linux-x64/include/node/openssl/idea.h +0 -105
  71. package/node-v8.11.1-linux-x64/include/node/openssl/krb5_asn.h +0 -240
  72. package/node-v8.11.1-linux-x64/include/node/openssl/kssl.h +0 -197
  73. package/node-v8.11.1-linux-x64/include/node/openssl/lhash.h +0 -240
  74. package/node-v8.11.1-linux-x64/include/node/openssl/md4.h +0 -119
  75. package/node-v8.11.1-linux-x64/include/node/openssl/md5.h +0 -119
  76. package/node-v8.11.1-linux-x64/include/node/openssl/mdc2.h +0 -94
  77. package/node-v8.11.1-linux-x64/include/node/openssl/modes.h +0 -163
  78. package/node-v8.11.1-linux-x64/include/node/openssl/obj_mac.h +0 -4194
  79. package/node-v8.11.1-linux-x64/include/node/openssl/objects.h +0 -1143
  80. package/node-v8.11.1-linux-x64/include/node/openssl/ocsp.h +0 -637
  81. package/node-v8.11.1-linux-x64/include/node/openssl/opensslconf.h +0 -154
  82. package/node-v8.11.1-linux-x64/include/node/openssl/opensslv.h +0 -97
  83. package/node-v8.11.1-linux-x64/include/node/openssl/ossl_typ.h +0 -213
  84. package/node-v8.11.1-linux-x64/include/node/openssl/pem.h +0 -617
  85. package/node-v8.11.1-linux-x64/include/node/openssl/pem2.h +0 -70
  86. package/node-v8.11.1-linux-x64/include/node/openssl/pkcs12.h +0 -342
  87. package/node-v8.11.1-linux-x64/include/node/openssl/pkcs7.h +0 -481
  88. package/node-v8.11.1-linux-x64/include/node/openssl/pqueue.h +0 -99
  89. package/node-v8.11.1-linux-x64/include/node/openssl/rand.h +0 -150
  90. package/node-v8.11.1-linux-x64/include/node/openssl/rc2.h +0 -103
  91. package/node-v8.11.1-linux-x64/include/node/openssl/rc4.h +0 -88
  92. package/node-v8.11.1-linux-x64/include/node/openssl/ripemd.h +0 -105
  93. package/node-v8.11.1-linux-x64/include/node/openssl/rsa.h +0 -664
  94. package/node-v8.11.1-linux-x64/include/node/openssl/safestack.h +0 -2672
  95. package/node-v8.11.1-linux-x64/include/node/openssl/seed.h +0 -149
  96. package/node-v8.11.1-linux-x64/include/node/openssl/sha.h +0 -214
  97. package/node-v8.11.1-linux-x64/include/node/openssl/srp.h +0 -179
  98. package/node-v8.11.1-linux-x64/include/node/openssl/srtp.h +0 -147
  99. package/node-v8.11.1-linux-x64/include/node/openssl/ssl.h +0 -3163
  100. package/node-v8.11.1-linux-x64/include/node/openssl/ssl2.h +0 -265
  101. package/node-v8.11.1-linux-x64/include/node/openssl/ssl23.h +0 -84
  102. package/node-v8.11.1-linux-x64/include/node/openssl/ssl3.h +0 -774
  103. package/node-v8.11.1-linux-x64/include/node/openssl/stack.h +0 -107
  104. package/node-v8.11.1-linux-x64/include/node/openssl/symhacks.h +0 -518
  105. package/node-v8.11.1-linux-x64/include/node/openssl/tls1.h +0 -810
  106. package/node-v8.11.1-linux-x64/include/node/openssl/ts.h +0 -865
  107. package/node-v8.11.1-linux-x64/include/node/openssl/txt_db.h +0 -112
  108. package/node-v8.11.1-linux-x64/include/node/openssl/ui.h +0 -415
  109. package/node-v8.11.1-linux-x64/include/node/openssl/ui_compat.h +0 -88
  110. package/node-v8.11.1-linux-x64/include/node/openssl/whrlpool.h +0 -41
  111. package/node-v8.11.1-linux-x64/include/node/openssl/x509.h +0 -1330
  112. package/node-v8.11.1-linux-x64/include/node/openssl/x509_vfy.h +0 -652
  113. package/node-v8.11.1-linux-x64/include/node/openssl/x509v3.h +0 -1055
  114. package/node-v8.11.1-linux-x64/include/node/pthread-barrier.h +0 -69
  115. package/node-v8.11.1-linux-x64/include/node/stdint-msvc2008.h +0 -247
  116. package/node-v8.11.1-linux-x64/include/node/tree.h +0 -768
  117. package/node-v8.11.1-linux-x64/include/node/uv-aix.h +0 -32
  118. package/node-v8.11.1-linux-x64/include/node/uv-bsd.h +0 -34
  119. package/node-v8.11.1-linux-x64/include/node/uv-darwin.h +0 -61
  120. package/node-v8.11.1-linux-x64/include/node/uv-errno.h +0 -431
  121. package/node-v8.11.1-linux-x64/include/node/uv-linux.h +0 -34
  122. package/node-v8.11.1-linux-x64/include/node/uv-os390.h +0 -33
  123. package/node-v8.11.1-linux-x64/include/node/uv-posix.h +0 -31
  124. package/node-v8.11.1-linux-x64/include/node/uv-sunos.h +0 -44
  125. package/node-v8.11.1-linux-x64/include/node/uv-threadpool.h +0 -37
  126. package/node-v8.11.1-linux-x64/include/node/uv-unix.h +0 -464
  127. package/node-v8.11.1-linux-x64/include/node/uv-version.h +0 -43
  128. package/node-v8.11.1-linux-x64/include/node/uv-win.h +0 -676
  129. package/node-v8.11.1-linux-x64/include/node/uv.h +0 -1566
  130. package/node-v8.11.1-linux-x64/include/node/v8-debug.h +0 -255
  131. package/node-v8.11.1-linux-x64/include/node/v8-inspector-protocol.h +0 -13
  132. package/node-v8.11.1-linux-x64/include/node/v8-inspector.h +0 -269
  133. package/node-v8.11.1-linux-x64/include/node/v8-platform.h +0 -241
  134. package/node-v8.11.1-linux-x64/include/node/v8-profiler.h +0 -912
  135. package/node-v8.11.1-linux-x64/include/node/v8-testing.h +0 -48
  136. package/node-v8.11.1-linux-x64/include/node/v8-util.h +0 -655
  137. package/node-v8.11.1-linux-x64/include/node/v8-value-serializer-version.h +0 -24
  138. package/node-v8.11.1-linux-x64/include/node/v8-version-string.h +0 -33
  139. package/node-v8.11.1-linux-x64/include/node/v8-version.h +0 -20
  140. package/node-v8.11.1-linux-x64/include/node/v8.h +0 -10342
  141. package/node-v8.11.1-linux-x64/include/node/v8config.h +0 -417
  142. package/node-v8.11.1-linux-x64/include/node/zconf.h +0 -534
  143. package/node-v8.11.1-linux-x64/include/node/zlib.h +0 -1912
  144. package/node-v8.11.1-linux-x64/lib/node_modules/npm/.github/CODEOWNERS +0 -1
  145. package/node-v8.11.1-linux-x64/lib/node_modules/npm/.github/issue_template.md +0 -69
  146. package/node-v8.11.1-linux-x64/lib/node_modules/npm/.mailmap +0 -67
  147. package/node-v8.11.1-linux-x64/lib/node_modules/npm/.npmignore +0 -34
  148. package/node-v8.11.1-linux-x64/lib/node_modules/npm/.travis.yml +0 -38
  149. package/node-v8.11.1-linux-x64/lib/node_modules/npm/AUTHORS +0 -538
  150. package/node-v8.11.1-linux-x64/lib/node_modules/npm/CHANGELOG.md +0 -1488
  151. package/node-v8.11.1-linux-x64/lib/node_modules/npm/CONTRIBUTING.md +0 -82
  152. package/node-v8.11.1-linux-x64/lib/node_modules/npm/LICENSE +0 -235
  153. package/node-v8.11.1-linux-x64/lib/node_modules/npm/Makefile +0 -190
  154. package/node-v8.11.1-linux-x64/lib/node_modules/npm/README.md +0 -169
  155. package/node-v8.11.1-linux-x64/lib/node_modules/npm/TROUBLESHOOTING.md +0 -192
  156. package/node-v8.11.1-linux-x64/lib/node_modules/npm/appveyor.yml +0 -34
  157. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -6
  158. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -5
  159. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npm +0 -34
  160. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npm-cli.js +0 -92
  161. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npm.cmd +0 -19
  162. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npx +0 -34
  163. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npx-cli.js +0 -8
  164. package/node-v8.11.1-linux-x64/lib/node_modules/npm/bin/npx.cmd +0 -19
  165. package/node-v8.11.1-linux-x64/lib/node_modules/npm/changelogs/CHANGELOG-1.md +0 -743
  166. package/node-v8.11.1-linux-x64/lib/node_modules/npm/changelogs/CHANGELOG-2.md +0 -5344
  167. package/node-v8.11.1-linux-x64/lib/node_modules/npm/changelogs/CHANGELOG-3.md +0 -5245
  168. package/node-v8.11.1-linux-x64/lib/node_modules/npm/changelogs/CHANGELOG-4.md +0 -1566
  169. package/node-v8.11.1-linux-x64/lib/node_modules/npm/configure +0 -33
  170. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-access.md +0 -76
  171. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-adduser.md +0 -85
  172. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-bin.md +0 -19
  173. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-bugs.md +0 -43
  174. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-build.md +0 -25
  175. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-bundle.md +0 -14
  176. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-cache.md +0 -83
  177. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-completion.md +0 -31
  178. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-config.md +0 -73
  179. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-dedupe.md +0 -55
  180. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-deprecate.md +0 -26
  181. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-dist-tag.md +0 -88
  182. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-docs.md +0 -44
  183. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-doctor.md +0 -102
  184. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-edit.md +0 -37
  185. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-explore.md +0 -39
  186. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-help-search.md +0 -34
  187. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-help.md +0 -38
  188. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-init.md +0 -38
  189. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-install-test.md +0 -25
  190. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-install.md +0 -444
  191. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-link.md +0 -74
  192. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-logout.md +0 -45
  193. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-ls.md +0 -111
  194. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-outdated.md +0 -112
  195. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-owner.md +0 -39
  196. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-pack.md +0 -27
  197. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-ping.md +0 -24
  198. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-prefix.md +0 -23
  199. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-profile.md +0 -74
  200. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-prune.md +0 -26
  201. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-publish.md +0 -73
  202. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-rebuild.md +0 -19
  203. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-repo.md +0 -27
  204. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-restart.md +0 -40
  205. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-root.md +0 -19
  206. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-run-script.md +0 -78
  207. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-search.md +0 -106
  208. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +0 -25
  209. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-star.md +0 -22
  210. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-stars.md +0 -21
  211. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-start.md +0 -24
  212. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-stop.md +0 -18
  213. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-team.md +0 -55
  214. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-test.md +0 -20
  215. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-token.md +0 -59
  216. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-uninstall.md +0 -53
  217. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-unpublish.md +0 -43
  218. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-update.md +0 -149
  219. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-version.md +0 -119
  220. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-view.md +0 -96
  221. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm-whoami.md +0 -17
  222. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/cli/npm.md +0 -165
  223. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/npm-folders.md +0 -213
  224. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/npm-package-locks.md +0 -145
  225. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/npm-shrinkwrap.json.md +0 -27
  226. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/npmrc.md +0 -90
  227. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/package-lock.json.md +0 -132
  228. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/files/package.json.md +0 -785
  229. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-coding-style.md +0 -192
  230. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-config.md +0 -1185
  231. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-developers.md +0 -233
  232. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-disputes.md +0 -130
  233. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-index.md +0 -303
  234. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-orgs.md +0 -90
  235. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-registry.md +0 -92
  236. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-scope.md +0 -113
  237. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/npm-scripts.md +0 -266
  238. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/removing-npm.md +0 -54
  239. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/misc/semver.md +0 -366
  240. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/spec/file-specifiers.md +0 -154
  241. package/node-v8.11.1-linux-x64/lib/node_modules/npm/doc/spec/package-lock.md +0 -276
  242. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/README.html +0 -131
  243. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-access.html +0 -90
  244. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-adduser.html +0 -85
  245. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-bin.html +0 -39
  246. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-bugs.html +0 -59
  247. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-build.html +0 -44
  248. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-bundle.html +0 -35
  249. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-cache.html +0 -93
  250. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-completion.html +0 -47
  251. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-config.html +0 -72
  252. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +0 -65
  253. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +0 -42
  254. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-dist-tag.html +0 -92
  255. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-docs.html +0 -60
  256. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-doctor.html +0 -107
  257. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-edit.html +0 -53
  258. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-explore.html +0 -53
  259. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-help-search.html +0 -49
  260. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-help.html +0 -54
  261. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-init.html +0 -52
  262. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-install-test.html +0 -46
  263. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-install.html +0 -373
  264. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-link.html +0 -78
  265. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-logout.html +0 -55
  266. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-ls.html +0 -114
  267. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-outdated.html +0 -120
  268. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-owner.html +0 -58
  269. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-pack.html +0 -45
  270. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-ping.html +0 -40
  271. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-prefix.html +0 -42
  272. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-profile.html +0 -94
  273. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-prune.html +0 -44
  274. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-publish.html +0 -89
  275. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +0 -39
  276. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-repo.html +0 -45
  277. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-restart.html +0 -57
  278. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-root.html +0 -39
  279. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-run-script.html +0 -84
  280. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-search.html +0 -113
  281. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +0 -45
  282. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-star.html +0 -40
  283. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-stars.html +0 -40
  284. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-start.html +0 -43
  285. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-stop.html +0 -38
  286. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-team.html +0 -71
  287. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-test.html +0 -40
  288. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-token.html +0 -77
  289. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +0 -67
  290. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +0 -55
  291. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-update.html +0 -122
  292. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-version.html +0 -124
  293. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-view.html +0 -90
  294. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-whoami.html +0 -37
  295. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm.html +0 -154
  296. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npm-folders.html +0 -185
  297. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npm-global.html +0 -185
  298. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npm-json.html +0 -607
  299. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npm-package-locks.html +0 -149
  300. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npm-shrinkwrap.json.html +0 -46
  301. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/npmrc.html +0 -89
  302. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/package-lock.json.html +0 -128
  303. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/files/package.json.html +0 -607
  304. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/index.html +0 -176
  305. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +0 -157
  306. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-config.html +0 -1028
  307. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-developers.html +0 -208
  308. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-disputes.html +0 -138
  309. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-index.html +0 -176
  310. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-orgs.html +0 -90
  311. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-registry.html +0 -94
  312. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-scope.html +0 -103
  313. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/npm-scripts.html +0 -243
  314. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/removing-npm.html +0 -61
  315. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/doc/misc/semver.html +0 -340
  316. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/docfoot.html +0 -13
  317. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/dochead.html +0 -11
  318. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/favicon.ico +0 -0
  319. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/index.html +0 -93
  320. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/static/style.css +0 -336
  321. package/node-v8.11.1-linux-x64/lib/node_modules/npm/html/static/toc.js +0 -29
  322. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/access.js +0 -129
  323. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/adduser.js +0 -49
  324. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/auth/legacy.js +0 -57
  325. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/auth/oauth.js +0 -7
  326. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/auth/saml.js +0 -7
  327. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/auth/sso.js +0 -59
  328. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/bin.js +0 -23
  329. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/bugs.js +0 -32
  330. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/build.js +0 -140
  331. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/cache.js +0 -136
  332. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/completion.js +0 -248
  333. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/bin-links.js +0 -32
  334. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/clear-credentials-by-uri.js +0 -16
  335. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/cmd-list.js +0 -119
  336. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/core.js +0 -431
  337. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/defaults.js +0 -430
  338. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/fetch-opts.js +0 -77
  339. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/gentle-fs.js +0 -32
  340. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/get-credentials-by-uri.js +0 -72
  341. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/lifecycle.js +0 -31
  342. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/load-cafile.js +0 -32
  343. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/load-prefix.js +0 -51
  344. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/load-uid.js +0 -15
  345. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/nerf-dart.js +0 -23
  346. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/pacote.js +0 -139
  347. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/reg-client.js +0 -29
  348. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/set-credentials-by-uri.js +0 -39
  349. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config/set-user.js +0 -29
  350. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/config.js +0 -280
  351. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/dedupe.js +0 -160
  352. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/deprecate.js +0 -54
  353. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/dist-tag.js +0 -158
  354. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/docs.js +0 -42
  355. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/check-files-permission.js +0 -57
  356. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/check-ping.js +0 -12
  357. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/get-git-path.js +0 -13
  358. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/get-latest-nodejs-version.js +0 -27
  359. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/get-latest-npm-version.js +0 -14
  360. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor/verify-cached-files.js +0 -19
  361. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/doctor.js +0 -113
  362. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/edit.js +0 -35
  363. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/explore.js +0 -59
  364. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js +0 -118
  365. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.md +0 -37
  366. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/get.js +0 -12
  367. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/help-search.js +0 -212
  368. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/help.js +0 -247
  369. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/init.js +0 -41
  370. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/access-error.js +0 -8
  371. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/build.js +0 -13
  372. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/extract-worker.js +0 -18
  373. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/extract.js +0 -160
  374. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/fetch.js +0 -16
  375. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/finalize.js +0 -106
  376. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/global-install.js +0 -17
  377. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/global-link.js +0 -8
  378. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/install.js +0 -8
  379. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/move.js +0 -96
  380. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/postinstall.js +0 -8
  381. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/preinstall.js +0 -8
  382. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/prepare.js +0 -27
  383. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/refresh-package-json.js +0 -45
  384. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/remove.js +0 -85
  385. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/action/unbuild.js +0 -16
  386. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/actions.js +0 -192
  387. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/and-add-parent-to-errors.js +0 -13
  388. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/and-finish-tracker.js +0 -16
  389. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/and-ignore-errors.js +0 -9
  390. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/check-permissions.js +0 -69
  391. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/copy-tree.js +0 -31
  392. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/decompose-actions.js +0 -72
  393. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/deps.js +0 -742
  394. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/diff-trees.js +0 -244
  395. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/exists.js +0 -27
  396. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/flatten-tree.js +0 -42
  397. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/get-requested.js +0 -12
  398. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/inflate-bundled.js +0 -18
  399. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js +0 -206
  400. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-dev-dep.js +0 -8
  401. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-extraneous.js +0 -27
  402. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-fs-access-available.js +0 -22
  403. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-only-dev.js +0 -35
  404. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-only-optional.js +0 -18
  405. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-opt-dep.js +0 -8
  406. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/is-prod-dep.js +0 -9
  407. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/module-staging-path.js +0 -8
  408. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/mutate-into-logical-tree.js +0 -140
  409. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/node.js +0 -77
  410. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/read-shrinkwrap.js +0 -58
  411. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/realize-shrinkwrap-specifier.js +0 -22
  412. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/report-optional-failure.js +0 -31
  413. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/save.js +0 -187
  414. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/update-package-json.js +0 -56
  415. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/validate-args.js +0 -73
  416. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/validate-tree.js +0 -95
  417. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install/writable.js +0 -35
  418. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install-test.js +0 -26
  419. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/install.js +0 -959
  420. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/link.js +0 -197
  421. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/logout.js +0 -43
  422. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/ls.js +0 -548
  423. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/npm.js +0 -480
  424. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/outdated.js +0 -425
  425. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/owner.js +0 -277
  426. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/pack.js +0 -232
  427. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/ping.js +0 -27
  428. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/prefix.js +0 -15
  429. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/profile.js +0 -314
  430. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/prune.js +0 -66
  431. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/publish.js +0 -200
  432. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/rebuild.js +0 -78
  433. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/repo.js +0 -51
  434. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/restart.js +0 -1
  435. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/root.js +0 -15
  436. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/run-script.js +0 -181
  437. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search/all-package-metadata.js +0 -313
  438. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search/all-package-search.js +0 -50
  439. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search/esearch.js +0 -64
  440. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search/format-package-stream.js +0 -172
  441. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search/package-filter.js +0 -41
  442. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/search.js +0 -108
  443. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/set.js +0 -13
  444. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/shrinkwrap.js +0 -252
  445. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/star.js +0 -45
  446. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/stars.js +0 -47
  447. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/start.js +0 -1
  448. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/stop.js +0 -1
  449. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/substack.js +0 -22
  450. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/team.js +0 -55
  451. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/test.js +0 -15
  452. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/token.js +0 -211
  453. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/unbuild.js +0 -132
  454. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/uninstall.js +0 -79
  455. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/unpublish.js +0 -118
  456. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/update.js +0 -72
  457. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/ansi-trim.js +0 -7
  458. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/child-path.js +0 -10
  459. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/completion/file-completion.js +0 -24
  460. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/completion/installed-deep.js +0 -52
  461. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +0 -87
  462. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/completion.sh +0 -61
  463. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/correct-mkdir.js +0 -123
  464. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/deep-sort-object.js +0 -14
  465. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/depr-check.js +0 -23
  466. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/did-you-mean.js +0 -20
  467. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/error-handler.js +0 -252
  468. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/error-message.js +0 -335
  469. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/escape-arg.js +0 -27
  470. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/escape-exec-path.js +0 -30
  471. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/gently-rm.js +0 -21
  472. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/get-publish-config.js +0 -29
  473. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/git.js +0 -50
  474. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/gunzip-maybe.js +0 -22
  475. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/is-registry.js +0 -12
  476. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/is-windows-bash.js +0 -3
  477. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/is-windows-shell.js +0 -4
  478. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/is-windows.js +0 -2
  479. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/lifecycle-cmd.js +0 -18
  480. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js +0 -14
  481. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/link.js +0 -8
  482. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/locker.js +0 -73
  483. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/map-to-registry.js +0 -103
  484. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/metrics-launch.js +0 -39
  485. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/metrics.js +0 -73
  486. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/module-name.js +0 -31
  487. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/move.js +0 -12
  488. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/no-progress-while-running.js +0 -23
  489. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/output.js +0 -8
  490. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/package-id.js +0 -15
  491. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/parse-json.js +0 -24
  492. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/perf.js +0 -27
  493. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/pick-manifest-from-registry-metadata.js +0 -26
  494. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/pulse-till-done.js +0 -38
  495. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/read-local-package.js +0 -12
  496. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/read-user-info.js +0 -66
  497. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/save-stack.js +0 -16
  498. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/spawn.js +0 -50
  499. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/temp-filename.js +0 -7
  500. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/umask.js +0 -17
  501. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/unix-format-path.js +0 -5
  502. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/unsupported.js +0 -52
  503. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/usage.js +0 -27
  504. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/utils/warn-deprecated.js +0 -23
  505. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/version.js +0 -334
  506. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/view.js +0 -337
  507. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/visnup.js +0 -43
  508. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/whoami.js +0 -47
  509. package/node-v8.11.1-linux-x64/lib/node_modules/npm/lib/xmas.js +0 -59
  510. package/node-v8.11.1-linux-x64/lib/node_modules/npm/make.bat +0 -3
  511. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-README.1 +0 -178
  512. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-access.1 +0 -92
  513. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-adduser.1 +0 -103
  514. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-bin.1 +0 -30
  515. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-bugs.1 +0 -60
  516. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-build.1 +0 -41
  517. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-bundle.1 +0 -17
  518. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-cache.1 +0 -96
  519. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-completion.1 +0 -42
  520. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-config.1 +0 -97
  521. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-dedupe.1 +0 -71
  522. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-deprecate.1 +0 -37
  523. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-dist-tag.1 +0 -109
  524. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-docs.1 +0 -60
  525. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-doctor.1 +0 -114
  526. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-edit.1 +0 -50
  527. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-explore.1 +0 -55
  528. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-help-search.1 +0 -43
  529. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-help.1 +0 -54
  530. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-init.1 +0 -49
  531. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-install-test.1 +0 -33
  532. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-install.1 +0 -524
  533. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-link.1 +0 -102
  534. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-logout.1 +0 -57
  535. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-ls.1 +0 -153
  536. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-outdated.1 +0 -151
  537. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-owner.1 +0 -53
  538. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-pack.1 +0 -37
  539. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-ping.1 +0 -39
  540. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-prefix.1 +0 -34
  541. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-profile.1 +0 -92
  542. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-prune.1 +0 -34
  543. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-publish.1 +0 -88
  544. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-rebuild.1 +0 -26
  545. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-repo.1 +0 -36
  546. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-restart.1 +0 -61
  547. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-root.1 +0 -30
  548. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-run-script.1 +0 -101
  549. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-search.1 +0 -138
  550. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -38
  551. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-star.1 +0 -30
  552. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-stars.1 +0 -30
  553. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-start.1 +0 -34
  554. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-stop.1 +0 -28
  555. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-team.1 +0 -64
  556. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-test.1 +0 -30
  557. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-token.1 +0 -74
  558. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-uninstall.1 +0 -75
  559. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-unpublish.1 +0 -52
  560. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-update.1 +0 -167
  561. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-version.1 +0 -162
  562. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-view.1 +0 -146
  563. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm-whoami.1 +0 -26
  564. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npm.1 +0 -205
  565. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man1/npx.1 +0 -168
  566. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npm-folders.5 +0 -226
  567. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npm-global.5 +0 -226
  568. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npm-json.5 +0 -951
  569. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npm-package-locks.5 +0 -184
  570. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npm-shrinkwrap.json.5 +0 -33
  571. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/npmrc.5 +0 -109
  572. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/package-lock.json.5 +0 -145
  573. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man5/package.json.5 +0 -951
  574. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-coding-style.7 +0 -222
  575. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-config.7 +0 -1615
  576. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-developers.7 +0 -292
  577. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-disputes.7 +0 -150
  578. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-index.7 +0 -229
  579. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-orgs.7 +0 -147
  580. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-registry.7 +0 -97
  581. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-scope.7 +0 -137
  582. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/npm-scripts.7 +0 -323
  583. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/removing-npm.7 +0 -78
  584. package/node-v8.11.1-linux-x64/lib/node_modules/npm/man/man7/semver.7 +0 -458
  585. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/.npmignore +0 -2
  586. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/.travis.yml +0 -8
  587. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/LICENSE.APACHE2 +0 -15
  588. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/LICENSE.MIT +0 -24
  589. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/examples/all_docs.js +0 -13
  590. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/index.js +0 -253
  591. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/package.json +0 -75
  592. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/JSONStream/readme.markdown +0 -207
  593. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/abbrev/LICENSE +0 -46
  594. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/abbrev/README.md +0 -23
  595. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/abbrev/abbrev.js +0 -61
  596. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansi-regex/index.js +0 -10
  597. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansi-regex/license +0 -9
  598. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansi-regex/readme.md +0 -46
  599. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansicolors/LICENSE +0 -23
  600. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansicolors/README.md +0 -62
  601. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +0 -65
  602. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansicolors/package.json +0 -60
  603. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansistyles/LICENSE +0 -23
  604. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansistyles/README.md +0 -71
  605. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +0 -38
  606. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ansistyles/package.json +0 -60
  607. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/aproba/LICENSE +0 -14
  608. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/aproba/README.md +0 -94
  609. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/aproba/index.js +0 -105
  610. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/.travis.yml +0 -4
  611. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/LICENSE +0 -18
  612. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/README.markdown +0 -88
  613. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/examples/beep.js +0 -24
  614. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/examples/multi_line.js +0 -25
  615. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/index.js +0 -35
  616. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/archy/package.json +0 -87
  617. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bin-links/CHANGELOG.md +0 -22
  618. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bin-links/LICENSE +0 -235
  619. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bin-links/README.md +0 -47
  620. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bin-links/index.js +0 -187
  621. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/LICENSE +0 -21
  622. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/README.md +0 -52
  623. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/changelog.md +0 -1
  624. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.js +0 -3781
  625. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.min.js +0 -31
  626. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.js +0 -5623
  627. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.min.js +0 -31
  628. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/any.js +0 -21
  629. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/assert.js +0 -55
  630. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/async.js +0 -161
  631. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/bind.js +0 -67
  632. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/bluebird.js +0 -11
  633. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/call_get.js +0 -123
  634. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/cancel.js +0 -129
  635. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/catch_filter.js +0 -42
  636. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/context.js +0 -69
  637. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/debuggability.js +0 -919
  638. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/direct_resolve.js +0 -46
  639. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/each.js +0 -30
  640. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/errors.js +0 -116
  641. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/es5.js +0 -80
  642. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/filter.js +0 -12
  643. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/finally.js +0 -146
  644. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/generators.js +0 -223
  645. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/join.js +0 -168
  646. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/map.js +0 -168
  647. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/method.js +0 -55
  648. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/nodeback.js +0 -51
  649. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/nodeify.js +0 -58
  650. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js +0 -775
  651. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js +0 -185
  652. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js +0 -314
  653. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/props.js +0 -118
  654. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/queue.js +0 -73
  655. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/race.js +0 -49
  656. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/reduce.js +0 -172
  657. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/schedule.js +0 -61
  658. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/settle.js +0 -43
  659. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/some.js +0 -148
  660. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/synchronous_inspection.js +0 -103
  661. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/thenables.js +0 -86
  662. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/timers.js +0 -93
  663. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/using.js +0 -226
  664. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/util.js +0 -380
  665. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/CHANGELOG.md +0 -453
  666. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/LICENSE.md +0 -16
  667. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/README.es.md +0 -628
  668. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/README.md +0 -624
  669. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/en.js +0 -3
  670. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/es.js +0 -3
  671. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/get.js +0 -190
  672. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/index.js +0 -3
  673. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/content/path.js +0 -26
  674. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/content/read.js +0 -115
  675. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/content/rm.js +0 -21
  676. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/content/write.js +0 -162
  677. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js +0 -224
  678. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/memoization.js +0 -69
  679. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/util/fix-owner.js +0 -44
  680. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +0 -11
  681. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/util/move-file.js +0 -51
  682. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/util/tmp.js +0 -32
  683. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/util/y.js +0 -25
  684. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/lib/verify.js +0 -213
  685. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/locales/en.js +0 -44
  686. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/locales/en.json +0 -6
  687. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/locales/es.js +0 -46
  688. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/locales/es.json +0 -6
  689. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/ls.js +0 -6
  690. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/put.js +0 -71
  691. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/rm.js +0 -28
  692. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cacache/verify.js +0 -3
  693. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/call-limit/README.md +0 -85
  694. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/call-limit/call-limit.js +0 -86
  695. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/chownr/LICENSE +0 -15
  696. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/chownr/README.md +0 -3
  697. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/chownr/chownr.js +0 -52
  698. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/.npmignore +0 -5
  699. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/.travis.yml +0 -6
  700. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/README.md +0 -215
  701. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/advanced-usage.md +0 -247
  702. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/basic-usage.md +0 -146
  703. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/examples/basic-usage-examples.js +0 -222
  704. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/examples/col-and-row-span-examples.js +0 -358
  705. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/examples/screenshots/basic-usage-with-colors.png +0 -0
  706. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/examples/screenshots/multi-line-colors.png +0 -0
  707. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/examples/screenshots/truncation-with-colors.png +0 -0
  708. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/gulpfile.js +0 -73
  709. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/index.js +0 -1
  710. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/lib/print-example.js +0 -123
  711. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/package.json +0 -84
  712. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/src/cell.js +0 -364
  713. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/src/layout-manager.js +0 -235
  714. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/src/table.js +0 -78
  715. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cli-table2/src/utils.js +0 -304
  716. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/.npmignore +0 -16
  717. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/.travis.yml +0 -4
  718. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -27
  719. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/README.md +0 -44
  720. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/index.js +0 -180
  721. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/cmd-shim/package.json +0 -53
  722. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/LICENSE +0 -21
  723. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/Makefile +0 -9
  724. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/Readme.md +0 -470
  725. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/columnify.js +0 -308
  726. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/index.js +0 -297
  727. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi/index.js +0 -6
  728. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi/license +0 -21
  729. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/strip-ansi/readme.md +0 -33
  730. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/.npmignore +0 -1
  731. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/LICENSE +0 -30
  732. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/Readme.md +0 -33
  733. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/combining.js +0 -50
  734. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/docs/index.md +0 -65
  735. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/index.js +0 -99
  736. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/node_modules/wcwidth/package.json +0 -76
  737. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/package.json +0 -81
  738. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/utils.js +0 -193
  739. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/columnify/width.js +0 -6
  740. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/config-chain/.npmignore +0 -3
  741. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/config-chain/LICENCE +0 -22
  742. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/config-chain/index.js +0 -282
  743. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/config-chain/package.json +0 -62
  744. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/config-chain/readme.markdown +0 -237
  745. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/debuglog/LICENSE +0 -19
  746. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/debuglog/README.md +0 -40
  747. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/debuglog/debuglog.js +0 -22
  748. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/debuglog/package.json +0 -58
  749. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/detect-indent/index.js +0 -122
  750. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/detect-indent/license +0 -21
  751. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/detect-indent/readme.md +0 -111
  752. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/.travis.yml +0 -7
  753. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/LICENSE +0 -15
  754. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/README.md +0 -29
  755. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/dezalgo.js +0 -22
  756. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/CHANGES.md +0 -64
  757. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/LICENSE.md +0 -21
  758. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/README.md +0 -237
  759. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/asap.js +0 -65
  760. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/browser-asap.js +0 -66
  761. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/browser-raw.js +0 -223
  762. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/node_modules/asap/raw.js +0 -101
  763. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/dezalgo/package.json +0 -76
  764. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/LICENSE +0 -21
  765. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/README.markdown +0 -54
  766. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/example/beep.json +0 -5
  767. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/example/edit.js +0 -4
  768. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/index.js +0 -20
  769. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/editor/package.json +0 -67
  770. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/find-npm-prefix/LICENSE +0 -15
  771. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/find-npm-prefix/README.md +0 -28
  772. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/find-npm-prefix/find-prefix.js +0 -54
  773. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/find-npm-prefix/package.json +0 -59
  774. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/.eslintrc +0 -18
  775. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/.npmignore +0 -1
  776. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/.travis.yml +0 -14
  777. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/LICENSE +0 -13
  778. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/README.md +0 -33
  779. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/package.json +0 -68
  780. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-vacuum/vacuum.js +0 -117
  781. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/.npmignore +0 -3
  782. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/.travis.yml +0 -11
  783. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/LICENSE +0 -15
  784. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/README.md +0 -35
  785. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/index.js +0 -176
  786. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/fs-write-stream-atomic/package.json +0 -67
  787. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/CHANGELOG.md +0 -63
  788. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/LICENSE +0 -235
  789. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/README.md +0 -74
  790. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/index.js +0 -10
  791. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/lib/link.js +0 -66
  792. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js +0 -256
  793. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/LICENSE +0 -15
  794. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/README.md +0 -368
  795. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/changelog.md +0 -67
  796. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/common.js +0 -240
  797. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/glob.js +0 -790
  798. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/glob/sync.js +0 -486
  799. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -15
  800. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/README.md +0 -133
  801. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/fs.js +0 -21
  802. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -262
  803. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +0 -118
  804. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -330
  805. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/has-unicode/LICENSE +0 -14
  806. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/has-unicode/README.md +0 -43
  807. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/has-unicode/index.js +0 -16
  808. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/hosted-git-info/LICENSE +0 -13
  809. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/hosted-git-info/README.md +0 -132
  810. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/hosted-git-info/git-host-info.js +0 -68
  811. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/hosted-git-info/git-host.js +0 -114
  812. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/hosted-git-info/index.js +0 -121
  813. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/.npmignore +0 -1
  814. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/LICENSE +0 -21
  815. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/README.md +0 -40
  816. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/index.coffee +0 -24
  817. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/index.js +0 -49
  818. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/iferr/package.json +0 -61
  819. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/imurmurhash/README.md +0 -122
  820. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +0 -138
  821. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  822. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/imurmurhash/package.json +0 -69
  823. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inflight/LICENSE +0 -15
  824. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inflight/README.md +0 -37
  825. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inflight/inflight.js +0 -54
  826. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inherits/LICENSE +0 -16
  827. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inherits/README.md +0 -42
  828. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inherits/inherits.js +0 -7
  829. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +0 -23
  830. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ini/LICENSE +0 -15
  831. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ini/README.md +0 -102
  832. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ini/ini.js +0 -190
  833. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/init-package-json/LICENSE +0 -15
  834. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/init-package-json/README.md +0 -45
  835. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/init-package-json/default-input.js +0 -239
  836. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +0 -154
  837. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/.npmignore +0 -1
  838. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/.travis.yml +0 -21
  839. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/README.md +0 -58
  840. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/example/example.js +0 -14
  841. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/lib/index.js +0 -18
  842. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/node_modules/cidr-regex/.npmignore +0 -1
  843. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/node_modules/cidr-regex/README.md +0 -49
  844. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/node_modules/cidr-regex/lib/index.js +0 -10
  845. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/node_modules/cidr-regex/package.json +0 -68
  846. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/node_modules/cidr-regex/test.js +0 -200
  847. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/is-cidr/package.json +0 -94
  848. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/.npmignore +0 -16
  849. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/LICENSE +0 -22
  850. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/README.md +0 -44
  851. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/component.json +0 -7
  852. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/lazyProperty.js +0 -19
  853. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lazy-property/package.json +0 -65
  854. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/CHANGELOG.md +0 -740
  855. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/LICENSE.md +0 -3
  856. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/README.md +0 -159
  857. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/auto-fallback.js +0 -69
  858. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/child.js +0 -86
  859. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/get-prefix.js +0 -54
  860. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/index.js +0 -366
  861. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/libnpx.1 +0 -168
  862. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ar.json +0 -29
  863. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ca.json +0 -28
  864. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/cs.json +0 -28
  865. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/de.json +0 -29
  866. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/en.json +0 -29
  867. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/es.json +0 -28
  868. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/fr.json +0 -29
  869. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/id.json +0 -29
  870. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/it.json +0 -28
  871. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ja.json +0 -28
  872. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ko.json +0 -29
  873. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/nb.json +0 -29
  874. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/nl.json +0 -29
  875. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/nn.json +0 -30
  876. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/no.json +0 -29
  877. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/pl.json +0 -29
  878. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/pt_BR.json +0 -28
  879. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ro.json +0 -28
  880. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/ru.json +0 -28
  881. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/sr.json +0 -29
  882. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/tr.json +0 -28
  883. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/uk.json +0 -29
  884. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/zh_CN.json +0 -28
  885. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/locales/zh_TW.json +0 -29
  886. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/parse-args.js +0 -237
  887. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/util.js +0 -17
  888. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/libnpx/y.js +0 -21
  889. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/.npmignore +0 -3
  890. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/.travis.yml +0 -8
  891. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/CHANGELOG.md +0 -101
  892. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/LICENSE +0 -15
  893. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/README.md +0 -86
  894. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/gen-changelog.sh +0 -9
  895. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/lockfile.js +0 -311
  896. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lockfile/package.json +0 -68
  897. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseindexof/LICENSE.txt +0 -22
  898. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseindexof/README.md +0 -20
  899. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseindexof/index.js +0 -57
  900. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseindexof/package.json +0 -80
  901. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/LICENSE +0 -47
  902. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/README.md +0 -18
  903. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/index.js +0 -801
  904. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset/LICENSE +0 -47
  905. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset/README.md +0 -18
  906. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset/index.js +0 -280
  907. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset/package.json +0 -70
  908. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root/LICENSE +0 -23
  909. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root/README.md +0 -18
  910. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root/index.js +0 -59
  911. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root/package.json +0 -70
  912. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._baseuniq/package.json +0 -73
  913. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._bindcallback/LICENSE.txt +0 -22
  914. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._bindcallback/README.md +0 -20
  915. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._bindcallback/index.js +0 -65
  916. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._bindcallback/package.json +0 -80
  917. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._cacheindexof/LICENSE.txt +0 -22
  918. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._cacheindexof/README.md +0 -20
  919. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._cacheindexof/index.js +0 -53
  920. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._cacheindexof/package.json +0 -80
  921. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._createcache/LICENSE +0 -22
  922. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._createcache/README.md +0 -20
  923. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._createcache/index.js +0 -91
  924. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._createcache/package.json +0 -82
  925. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._getnative/LICENSE +0 -22
  926. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._getnative/README.md +0 -20
  927. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._getnative/index.js +0 -137
  928. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash._getnative/package.json +0 -81
  929. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.clonedeep/LICENSE +0 -47
  930. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.clonedeep/README.md +0 -18
  931. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.clonedeep/index.js +0 -1748
  932. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.clonedeep/package.json +0 -74
  933. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.restparam/LICENSE.txt +0 -22
  934. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.restparam/README.md +0 -20
  935. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.restparam/index.js +0 -67
  936. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.restparam/package.json +0 -86
  937. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.union/LICENSE +0 -47
  938. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.union/README.md +0 -18
  939. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.union/index.js +0 -1181
  940. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.union/package.json +0 -74
  941. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.uniq/LICENSE +0 -47
  942. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.uniq/README.md +0 -18
  943. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.uniq/index.js +0 -896
  944. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.uniq/package.json +0 -74
  945. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.without/LICENSE +0 -47
  946. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.without/README.md +0 -18
  947. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.without/index.js +0 -1051
  948. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lodash.without/package.json +0 -74
  949. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lru-cache/LICENSE +0 -15
  950. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lru-cache/README.md +0 -152
  951. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/lru-cache/index.js +0 -467
  952. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/.npmignore +0 -37
  953. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/.travis.yml +0 -16
  954. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/CHANGELOG.md +0 -29
  955. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/LICENSE +0 -21
  956. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/README.md +0 -67
  957. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/index.js +0 -49
  958. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/package.json +0 -56
  959. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/meant/test.js +0 -11
  960. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mississippi/.npmignore +0 -1
  961. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mississippi/index.js +0 -9
  962. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mississippi/package.json +0 -70
  963. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mississippi/readme.md +0 -394
  964. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/.travis.yml +0 -8
  965. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/LICENSE +0 -21
  966. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/README.markdown +0 -100
  967. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/bin/cmd.js +0 -33
  968. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/bin/usage.txt +0 -12
  969. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +0 -6
  970. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/index.js +0 -98
  971. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/.travis.yml +0 -4
  972. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/LICENSE +0 -18
  973. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/example/parse.js +0 -2
  974. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +0 -187
  975. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +0 -75
  976. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +0 -73
  977. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/mkdirp/package.json +0 -75
  978. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/move-concurrently/LICENSE +0 -14
  979. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/move-concurrently/README.md +0 -53
  980. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/move-concurrently/move.js +0 -84
  981. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/.jshintrc +0 -7
  982. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/.npmignore +0 -3
  983. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +0 -176
  984. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
  985. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/README.md +0 -242
  986. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -133
  987. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -148
  988. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/.npmignore +0 -1
  989. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +0 -12
  990. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +0 -24
  991. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -27
  992. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +0 -1
  993. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -137
  994. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/aosp_manifest.xml +0 -466
  995. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +0 -136
  996. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/OWNERS +0 -6
  997. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/README +0 -3
  998. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/cq_config.json +0 -15
  999. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +0 -10
  1000. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1001. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -8
  1002. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1003. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -16
  1004. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +0 -274
  1005. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -340
  1006. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -208
  1007. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1096
  1008. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1483
  1009. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -58
  1010. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -147
  1011. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1012. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -443
  1013. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -548
  1014. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -608
  1015. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -72
  1016. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -162
  1017. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -103
  1018. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -54
  1019. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1020. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -741
  1021. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1095
  1022. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1221
  1023. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -99
  1024. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -425
  1025. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -94
  1026. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  1027. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2220
  1028. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3494
  1029. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -37
  1030. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2410
  1031. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -47
  1032. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1300
  1033. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -23
  1034. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -2897
  1035. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -90
  1036. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -610
  1037. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1087
  1038. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -160
  1039. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ordered_dict.py +0 -289
  1040. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -46
  1041. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -314
  1042. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1629
  1043. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -270
  1044. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -2927
  1045. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -69
  1046. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +0 -81
  1047. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
  1048. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +0 -19
  1049. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +0 -15
  1050. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
  1051. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
  1052. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
  1053. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
  1054. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
  1055. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -275
  1056. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
  1057. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
  1058. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
  1059. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +0 -100
  1060. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -155
  1061. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -169
  1062. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -329
  1063. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/Find-VS2017.cs +0 -271
  1064. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -266
  1065. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -22
  1066. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -523
  1067. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +0 -61
  1068. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/find-vs2017.js +0 -46
  1069. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -469
  1070. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -33
  1071. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -216
  1072. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/process-release.js +0 -155
  1073. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -14
  1074. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -52
  1075. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/package.json +0 -89
  1076. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -36
  1077. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/.npmignore +0 -1
  1078. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/.travis.yml +0 -8
  1079. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/CHANGELOG.md +0 -58
  1080. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/LICENSE +0 -15
  1081. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/README.md +0 -213
  1082. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -54
  1083. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +0 -30
  1084. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -436
  1085. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/nopt/package.json +0 -60
  1086. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/AUTHORS +0 -4
  1087. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/LICENSE +0 -30
  1088. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/README.md +0 -106
  1089. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/extract_description.js +0 -14
  1090. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js +0 -417
  1091. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/make_warning.js +0 -23
  1092. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js +0 -39
  1093. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/safe_format.js +0 -9
  1094. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/typos.json +0 -25
  1095. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  1096. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-cache-filename/LICENSE +0 -15
  1097. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-cache-filename/README.md +0 -21
  1098. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-cache-filename/index.js +0 -24
  1099. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-cache-filename/package.json +0 -55
  1100. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-cache-filename/test.js +0 -23
  1101. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-install-checks/CHANGELOG.md +0 -10
  1102. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -27
  1103. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-install-checks/README.md +0 -27
  1104. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-install-checks/index.js +0 -144
  1105. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-install-checks/package.json +0 -63
  1106. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/CHANGELOG.md +0 -67
  1107. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/LICENSE +0 -235
  1108. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/README.md +0 -50
  1109. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/index.js +0 -448
  1110. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js +0 -65
  1111. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp +0 -6
  1112. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp.cmd +0 -5
  1113. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-package-arg/LICENSE +0 -15
  1114. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-package-arg/README.md +0 -83
  1115. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-package-arg/npa.js +0 -277
  1116. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-packlist/LICENSE +0 -15
  1117. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-packlist/README.md +0 -68
  1118. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-packlist/index.js +0 -220
  1119. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-profile/LICENSE +0 -15
  1120. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-profile/README.md +0 -428
  1121. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-profile/index.js +0 -260
  1122. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +0 -15
  1123. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/README.md +0 -357
  1124. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/index.js +0 -74
  1125. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/access.js +0 -154
  1126. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +0 -129
  1127. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/attempt.js +0 -20
  1128. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/authify.js +0 -26
  1129. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +0 -42
  1130. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/add.js +0 -43
  1131. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/fetch.js +0 -37
  1132. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/rm.js +0 -38
  1133. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/set.js +0 -39
  1134. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/update.js +0 -39
  1135. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/fetch.js +0 -85
  1136. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +0 -22
  1137. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/initialize.js +0 -91
  1138. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/logout.js +0 -23
  1139. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/org.js +0 -62
  1140. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/ping.js +0 -21
  1141. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +0 -194
  1142. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +0 -321
  1143. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/send-anonymous-CLI-metrics.js +0 -19
  1144. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +0 -51
  1145. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +0 -18
  1146. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +0 -23
  1147. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/team.js +0 -105
  1148. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +0 -120
  1149. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/whoami.js +0 -21
  1150. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
  1151. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-user-validate/README.md +0 -6
  1152. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +0 -57
  1153. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npmlog/CHANGELOG.md +0 -49
  1154. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npmlog/LICENSE +0 -15
  1155. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npmlog/README.md +0 -216
  1156. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/npmlog/log.js +0 -309
  1157. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/once/LICENSE +0 -15
  1158. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/once/README.md +0 -79
  1159. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/once/once.js +0 -42
  1160. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/opener/LICENSE.txt +0 -47
  1161. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/opener/README.md +0 -57
  1162. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/opener/opener.js +0 -60
  1163. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/.npmignore +0 -13
  1164. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/.travis.yml +0 -9
  1165. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/LICENSE +0 -15
  1166. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/README.md +0 -63
  1167. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/osenv.js +0 -72
  1168. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/package.json +0 -74
  1169. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/osenv/x.tap +0 -39
  1170. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/CHANGELOG.md +0 -919
  1171. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/LICENSE +0 -21
  1172. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/README.md +0 -201
  1173. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/extract.js +0 -100
  1174. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/index.js +0 -9
  1175. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/extract-stream.js +0 -50
  1176. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetch.js +0 -72
  1177. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/directory.js +0 -71
  1178. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/file.js +0 -74
  1179. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/git.js +0 -172
  1180. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/hosted.js +0 -3
  1181. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/range.js +0 -3
  1182. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/check-warning-header.js +0 -39
  1183. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js +0 -109
  1184. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/index.js +0 -27
  1185. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js +0 -148
  1186. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/pick-registry.js +0 -17
  1187. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/registry-key.js +0 -16
  1188. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/tarball.js +0 -85
  1189. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/remote.js +0 -30
  1190. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/tag.js +0 -3
  1191. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/version.js +0 -3
  1192. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/finalize-manifest.js +0 -250
  1193. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/cache-key.js +0 -6
  1194. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/git.js +0 -222
  1195. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/gunzip-maybe.js +0 -24
  1196. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/opt-check.js +0 -63
  1197. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/pack-dir.js +0 -44
  1198. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/util/silentlog.js +0 -13
  1199. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/manifest.js +0 -38
  1200. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/prefetch.js +0 -64
  1201. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/pacote/tarball.js +0 -95
  1202. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +0 -47
  1203. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +0 -28
  1204. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/promise-inflight/LICENSE +0 -14
  1205. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/promise-inflight/README.md +0 -34
  1206. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/promise-inflight/inflight.js +0 -36
  1207. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/.npmignore +0 -2
  1208. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +0 -3
  1209. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/LICENSE +0 -222
  1210. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/README.md +0 -81
  1211. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +0 -68
  1212. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +0 -2
  1213. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/example/basic.png +0 -0
  1214. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +0 -4
  1215. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +0 -6
  1216. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +0 -100
  1217. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/package.json +0 -76
  1218. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +0 -22
  1219. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +0 -38
  1220. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +0 -7
  1221. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +0 -10
  1222. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +0 -44
  1223. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +0 -6
  1224. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +0 -66
  1225. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +0 -298
  1226. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +0 -272
  1227. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +0 -462
  1228. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/query-string/index.js +0 -210
  1229. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/query-string/license +0 -9
  1230. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/query-string/readme.md +0 -186
  1231. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qw/LICENSE +0 -14
  1232. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qw/README.md +0 -35
  1233. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/qw/qw.js +0 -43
  1234. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read/LICENSE +0 -15
  1235. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read/README.md +0 -53
  1236. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read/lib/read.js +0 -113
  1237. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-cmd-shim/.npmignore +0 -3
  1238. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-cmd-shim/README.md +0 -36
  1239. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-cmd-shim/index.js +0 -54
  1240. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-cmd-shim/package.json +0 -60
  1241. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/.npmignore +0 -13
  1242. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/.travis.yml +0 -9
  1243. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/LICENSE +0 -16
  1244. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/README.md +0 -27
  1245. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/package.json +0 -67
  1246. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-installed/read-installed.js +0 -407
  1247. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-json/LICENSE +0 -15
  1248. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-json/README.md +0 -151
  1249. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-json/read-json.js +0 -440
  1250. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-tree/LICENSE +0 -15
  1251. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-tree/README.md +0 -68
  1252. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/read-package-tree/rpt.js +0 -237
  1253. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/.npmignore +0 -9
  1254. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/.travis.yml +0 -65
  1255. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1256. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1257. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/LICENSE +0 -47
  1258. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/README.md +0 -57
  1259. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  1260. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/duplex-browser.js +0 -1
  1261. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/duplex.js +0 -1
  1262. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_duplex.js +0 -124
  1263. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  1264. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_readable.js +0 -1007
  1265. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  1266. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_writable.js +0 -664
  1267. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -74
  1268. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -72
  1269. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1270. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1271. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/LICENSE +0 -19
  1272. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
  1273. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
  1274. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
  1275. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -66
  1276. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
  1277. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/.npmignore +0 -1
  1278. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/.travis.yml +0 -4
  1279. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/Makefile +0 -6
  1280. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/README.md +0 -60
  1281. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
  1282. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/index.js +0 -5
  1283. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/package.json +0 -76
  1284. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/isarray/test.js +0 -20
  1285. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/.travis.yml +0 -12
  1286. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/index.js +0 -43
  1287. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/license.md +0 -19
  1288. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/package.json +0 -51
  1289. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/readme.md +0 -18
  1290. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args/test.js +0 -24
  1291. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/string_decoder/.npmignore +0 -2
  1292. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/string_decoder/LICENSE +0 -48
  1293. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -28
  1294. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js +0 -272
  1295. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -56
  1296. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/History.md +0 -16
  1297. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/LICENSE +0 -24
  1298. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/README.md +0 -53
  1299. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/browser.js +0 -67
  1300. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/node.js +0 -6
  1301. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate/package.json +0 -61
  1302. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/package.json +0 -103
  1303. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/passthrough.js +0 -1
  1304. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/readable-browser.js +0 -7
  1305. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/readable.js +0 -19
  1306. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/transform.js +0 -1
  1307. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/writable-browser.js +0 -1
  1308. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readable-stream/writable.js +0 -8
  1309. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readdir-scoped-modules/.travis.yml +0 -7
  1310. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readdir-scoped-modules/LICENSE +0 -15
  1311. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readdir-scoped-modules/README.md +0 -17
  1312. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readdir-scoped-modules/package.json +0 -65
  1313. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/readdir-scoped-modules/readdir.js +0 -71
  1314. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/CHANGELOG.md +0 -674
  1315. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/LICENSE +0 -55
  1316. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/README.md +0 -1097
  1317. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/index.js +0 -155
  1318. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/auth.js +0 -167
  1319. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/cookies.js +0 -38
  1320. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/getProxyFromURI.js +0 -79
  1321. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/har.js +0 -205
  1322. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/helpers.js +0 -66
  1323. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/multipart.js +0 -112
  1324. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/oauth.js +0 -148
  1325. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/querystring.js +0 -50
  1326. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/redirect.js +0 -154
  1327. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/lib/tunnel.js +0 -175
  1328. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/request/request.js +0 -1552
  1329. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/.npmignore +0 -2
  1330. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/License +0 -21
  1331. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/Makefile +0 -22
  1332. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/Readme.md +0 -215
  1333. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
  1334. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/example/dns.js +0 -31
  1335. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/example/stop.js +0 -40
  1336. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/index.js +0 -1
  1337. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/lib/retry.js +0 -99
  1338. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -143
  1339. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/retry/package.json +0 -61
  1340. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/rimraf/LICENSE +0 -15
  1341. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/rimraf/README.md +0 -101
  1342. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/rimraf/bin.js +0 -50
  1343. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/rimraf/rimraf.js +0 -364
  1344. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/.travis.yml +0 -7
  1345. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/LICENSE +0 -21
  1346. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/README.md +0 -584
  1347. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/index.js +0 -62
  1348. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/package.json +0 -68
  1349. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/safe-buffer/test.js +0 -101
  1350. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/semver/LICENSE +0 -15
  1351. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/semver/README.md +0 -366
  1352. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/semver/bin/semver +0 -133
  1353. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/semver/range.bnf +0 -16
  1354. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/semver/semver.js +0 -1296
  1355. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sha/.npmignore +0 -4
  1356. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sha/LICENSE +0 -46
  1357. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sha/README.md +0 -49
  1358. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sha/index.js +0 -107
  1359. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sha/package.json +0 -52
  1360. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/LICENSE +0 -15
  1361. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/README.md +0 -143
  1362. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/index.js +0 -1
  1363. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +0 -65
  1364. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/lib/async-map.js +0 -54
  1365. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +0 -16
  1366. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/lib/chain.js +0 -20
  1367. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/lib/slide.js +0 -3
  1368. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/slide/package.json +0 -63
  1369. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-object/LICENSE.txt +0 -47
  1370. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-object/lib/sorted-object.js +0 -11
  1371. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/.npmignore +0 -1
  1372. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/.travis.yml +0 -5
  1373. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/LICENSE +0 -21
  1374. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/README.md +0 -80
  1375. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/example.js +0 -15
  1376. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/index.js +0 -59
  1377. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/package.json +0 -66
  1378. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/sorted-union-stream/test.js +0 -154
  1379. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ssri/CHANGELOG.md +0 -190
  1380. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ssri/LICENSE.md +0 -16
  1381. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ssri/README.md +0 -462
  1382. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/ssri/index.js +0 -334
  1383. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/strip-ansi/index.js +0 -4
  1384. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/strip-ansi/license +0 -9
  1385. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/strip-ansi/readme.md +0 -39
  1386. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/LICENSE +0 -15
  1387. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/README.md +0 -883
  1388. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/index.js +0 -18
  1389. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/create.js +0 -110
  1390. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/extract.js +0 -127
  1391. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/header.js +0 -272
  1392. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/high-level-opt.js +0 -29
  1393. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/large-numbers.js +0 -92
  1394. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/list.js +0 -132
  1395. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/mkdir.js +0 -207
  1396. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/pack.js +0 -399
  1397. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/parse.js +0 -415
  1398. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/pax.js +0 -145
  1399. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/read-entry.js +0 -94
  1400. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/replace.js +0 -211
  1401. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/types.js +0 -44
  1402. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/unpack.js +0 -481
  1403. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/update.js +0 -36
  1404. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/warn-mixin.js +0 -14
  1405. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/winchars.js +0 -23
  1406. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/tar/lib/write-entry.js +0 -395
  1407. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/.travis.yml +0 -4
  1408. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/LICENSE +0 -18
  1409. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/example/align.js +0 -8
  1410. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/example/center.js +0 -8
  1411. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
  1412. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
  1413. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/example/table.js +0 -6
  1414. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/index.js +0 -86
  1415. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/package.json +0 -78
  1416. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/text-table/readme.markdown +0 -134
  1417. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uid-number/LICENSE +0 -15
  1418. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uid-number/README.md +0 -17
  1419. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +0 -24
  1420. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uid-number/package.json +0 -53
  1421. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uid-number/uid-number.js +0 -59
  1422. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/.npmignore +0 -28
  1423. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/ChangeLog +0 -9
  1424. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/LICENSE +0 -22
  1425. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/README.md +0 -78
  1426. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/index.js +0 -77
  1427. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/umask/package.json +0 -60
  1428. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/.npmignore +0 -5
  1429. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/README.md +0 -33
  1430. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/__root__/index.html +0 -73
  1431. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/__root__/index.js.html +0 -69
  1432. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/base.css +0 -182
  1433. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/index.html +0 -73
  1434. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/prettify.css +0 -1
  1435. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/prettify.js +0 -1
  1436. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/sort-arrow-sprite.png +0 -0
  1437. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/coverage/sorter.js +0 -156
  1438. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/index.js +0 -8
  1439. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unique-filename/package.json +0 -63
  1440. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unpipe/HISTORY.md +0 -4
  1441. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unpipe/LICENSE +0 -22
  1442. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unpipe/README.md +0 -43
  1443. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/unpipe/index.js +0 -69
  1444. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/update-notifier/check.js +0 -22
  1445. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/update-notifier/index.js +0 -151
  1446. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/update-notifier/readme.md +0 -184
  1447. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/.eslintrc.json +0 -46
  1448. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/AUTHORS +0 -5
  1449. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/HISTORY.md +0 -28
  1450. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/LICENSE.md +0 -21
  1451. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/README.md +0 -227
  1452. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/bin/uuid +0 -50
  1453. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/index.js +0 -8
  1454. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/lib/bytesToUuid.js +0 -23
  1455. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/lib/rng-browser.js +0 -33
  1456. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/lib/rng.js +0 -10
  1457. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/lib/sha1-browser.js +0 -85
  1458. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/lib/sha1.js +0 -21
  1459. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/package.json +0 -82
  1460. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/v1.js +0 -100
  1461. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/v4.js +0 -29
  1462. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/uuid/v5.js +0 -42
  1463. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +0 -174
  1464. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/README.md +0 -113
  1465. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/index.js +0 -84
  1466. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/LICENSE +0 -57
  1467. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/README.md +0 -10
  1468. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/index.js +0 -237
  1469. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules/spdx-license-ids/LICENSE +0 -24
  1470. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules/spdx-license-ids/README.md +0 -55
  1471. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules/spdx-license-ids/spdx-license-ids.json +0 -334
  1472. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/package.json +0 -66
  1473. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +0 -3
  1474. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +0 -22
  1475. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/README.md +0 -83
  1476. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +0 -5
  1477. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parser.js +0 -1357
  1478. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-license/package.json +0 -66
  1479. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/.npmignore +0 -1
  1480. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/.travis.yml +0 -6
  1481. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +0 -6
  1482. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/README.md +0 -120
  1483. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/index.js +0 -105
  1484. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/validate-npm-package-name/package.json +0 -70
  1485. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/which/CHANGELOG.md +0 -147
  1486. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/which/LICENSE +0 -15
  1487. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/which/README.md +0 -51
  1488. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/which/bin/which +0 -52
  1489. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/which/which.js +0 -135
  1490. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/.travis.yml +0 -11
  1491. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/LICENSE.md +0 -13
  1492. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/README.md +0 -144
  1493. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/examples/basic/child.js +0 -5
  1494. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/examples/basic/index.js +0 -13
  1495. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/examples/pi/calc.js +0 -22
  1496. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/examples/pi/index.js +0 -41
  1497. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/index.d.ts +0 -44
  1498. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/lib/child/index.js +0 -52
  1499. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/lib/farm.js +0 -339
  1500. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/lib/fork.js +0 -32
  1501. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/lib/index.js +0 -34
  1502. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/.npmignore +0 -1
  1503. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/README.md +0 -141
  1504. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/build.js +0 -43
  1505. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/cli.js +0 -20
  1506. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/custom.js +0 -55
  1507. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/errno.js +0 -313
  1508. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/package.json +0 -60
  1509. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/test.js +0 -31
  1510. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/.npmignore +0 -1
  1511. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/LICENCE +0 -19
  1512. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/Makefile +0 -4
  1513. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/README.md +0 -32
  1514. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/immutable.js +0 -19
  1515. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/mutable.js +0 -17
  1516. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/package.json +0 -43
  1517. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/node_modules/xtend/test.js +0 -83
  1518. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/worker-farm/package.json +0 -61
  1519. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/wrappy/LICENSE +0 -15
  1520. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/wrappy/README.md +0 -36
  1521. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/wrappy/wrappy.js +0 -33
  1522. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/write-file-atomic/LICENSE +0 -6
  1523. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/write-file-atomic/README.md +0 -47
  1524. package/node-v8.11.1-linux-x64/lib/node_modules/npm/node_modules/write-file-atomic/index.js +0 -134
  1525. package/node-v8.11.1-linux-x64/lib/node_modules/npm/package.json +0 -265
  1526. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/changelog.js +0 -101
  1527. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/clean-old.sh +0 -165
  1528. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/dep-update +0 -6
  1529. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/dev-dep-update +0 -6
  1530. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/doc-build.sh +0 -67
  1531. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/gen-changelog +0 -7
  1532. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/index-build.js +0 -58
  1533. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/install.sh +0 -241
  1534. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/maketest +0 -94
  1535. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/publish-tag.js +0 -3
  1536. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/release.sh +0 -36
  1537. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/relocate.sh +0 -26
  1538. package/node-v8.11.1-linux-x64/lib/node_modules/npm/scripts/update-authors.sh +0 -9
  1539. package/node-v8.11.1-linux-x64/share/doc/node/gdbinit +0 -161
  1540. package/node-v8.11.1-linux-x64/share/doc/node/lldb_commands.py +0 -72
  1541. package/node-v8.11.1-linux-x64/share/doc/node/lldbinit +0 -31
  1542. package/node-v8.11.1-linux-x64/share/man/man1/node.1 +0 -372
  1543. package/node-v8.11.1-linux-x64/share/systemtap/tapset/node.stp +0 -146
  1544. package/node-v8.11.1-linux-x64.tar.xz +0 -0
@@ -1,3494 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- import copy
6
- import ntpath
7
- import os
8
- import posixpath
9
- import re
10
- import subprocess
11
- import sys
12
-
13
- import gyp.common
14
- import gyp.easy_xml as easy_xml
15
- import gyp.generator.ninja as ninja_generator
16
- import gyp.MSVSNew as MSVSNew
17
- import gyp.MSVSProject as MSVSProject
18
- import gyp.MSVSSettings as MSVSSettings
19
- import gyp.MSVSToolFile as MSVSToolFile
20
- import gyp.MSVSUserFile as MSVSUserFile
21
- import gyp.MSVSUtil as MSVSUtil
22
- import gyp.MSVSVersion as MSVSVersion
23
- from gyp.common import GypError
24
- from gyp.common import OrderedSet
25
-
26
- # TODO: Remove once bots are on 2.7, http://crbug.com/241769
27
- def _import_OrderedDict():
28
- import collections
29
- try:
30
- return collections.OrderedDict
31
- except AttributeError:
32
- import gyp.ordered_dict
33
- return gyp.ordered_dict.OrderedDict
34
- OrderedDict = _import_OrderedDict()
35
-
36
-
37
- # Regular expression for validating Visual Studio GUIDs. If the GUID
38
- # contains lowercase hex letters, MSVS will be fine. However,
39
- # IncrediBuild BuildConsole will parse the solution file, but then
40
- # silently skip building the target causing hard to track down errors.
41
- # Note that this only happens with the BuildConsole, and does not occur
42
- # if IncrediBuild is executed from inside Visual Studio. This regex
43
- # validates that the string looks like a GUID with all uppercase hex
44
- # letters.
45
- VALID_MSVS_GUID_CHARS = re.compile(r'^[A-F0-9\-]+$')
46
-
47
-
48
- generator_default_variables = {
49
- 'EXECUTABLE_PREFIX': '',
50
- 'EXECUTABLE_SUFFIX': '.exe',
51
- 'STATIC_LIB_PREFIX': '',
52
- 'SHARED_LIB_PREFIX': '',
53
- 'STATIC_LIB_SUFFIX': '.lib',
54
- 'SHARED_LIB_SUFFIX': '.dll',
55
- 'INTERMEDIATE_DIR': '$(IntDir)',
56
- 'SHARED_INTERMEDIATE_DIR': '$(OutDir)obj/global_intermediate',
57
- 'OS': 'win',
58
- 'PRODUCT_DIR': '$(OutDir)',
59
- 'LIB_DIR': '$(OutDir)lib',
60
- 'RULE_INPUT_ROOT': '$(InputName)',
61
- 'RULE_INPUT_DIRNAME': '$(InputDir)',
62
- 'RULE_INPUT_EXT': '$(InputExt)',
63
- 'RULE_INPUT_NAME': '$(InputFileName)',
64
- 'RULE_INPUT_PATH': '$(InputPath)',
65
- 'CONFIGURATION_NAME': '$(ConfigurationName)',
66
- }
67
-
68
-
69
- # The msvs specific sections that hold paths
70
- generator_additional_path_sections = [
71
- 'msvs_cygwin_dirs',
72
- 'msvs_props',
73
- ]
74
-
75
-
76
- generator_additional_non_configuration_keys = [
77
- 'msvs_cygwin_dirs',
78
- 'msvs_cygwin_shell',
79
- 'msvs_large_pdb',
80
- 'msvs_shard',
81
- 'msvs_external_builder',
82
- 'msvs_external_builder_out_dir',
83
- 'msvs_external_builder_build_cmd',
84
- 'msvs_external_builder_clean_cmd',
85
- 'msvs_external_builder_clcompile_cmd',
86
- 'msvs_enable_winrt',
87
- 'msvs_requires_importlibrary',
88
- 'msvs_enable_winphone',
89
- 'msvs_application_type_revision',
90
- 'msvs_target_platform_version',
91
- 'msvs_target_platform_minversion',
92
- ]
93
-
94
-
95
- # List of precompiled header related keys.
96
- precomp_keys = [
97
- 'msvs_precompiled_header',
98
- 'msvs_precompiled_source',
99
- ]
100
-
101
-
102
- cached_username = None
103
-
104
-
105
- cached_domain = None
106
-
107
-
108
- # TODO(gspencer): Switch the os.environ calls to be
109
- # win32api.GetDomainName() and win32api.GetUserName() once the
110
- # python version in depot_tools has been updated to work on Vista
111
- # 64-bit.
112
- def _GetDomainAndUserName():
113
- if sys.platform not in ('win32', 'cygwin'):
114
- return ('DOMAIN', 'USERNAME')
115
- global cached_username
116
- global cached_domain
117
- if not cached_domain or not cached_username:
118
- domain = os.environ.get('USERDOMAIN')
119
- username = os.environ.get('USERNAME')
120
- if not domain or not username:
121
- call = subprocess.Popen(['net', 'config', 'Workstation'],
122
- stdout=subprocess.PIPE)
123
- config = call.communicate()[0]
124
- username_re = re.compile(r'^User name\s+(\S+)', re.MULTILINE)
125
- username_match = username_re.search(config)
126
- if username_match:
127
- username = username_match.group(1)
128
- domain_re = re.compile(r'^Logon domain\s+(\S+)', re.MULTILINE)
129
- domain_match = domain_re.search(config)
130
- if domain_match:
131
- domain = domain_match.group(1)
132
- cached_domain = domain
133
- cached_username = username
134
- return (cached_domain, cached_username)
135
-
136
- fixpath_prefix = None
137
-
138
-
139
- def _NormalizedSource(source):
140
- """Normalize the path.
141
-
142
- But not if that gets rid of a variable, as this may expand to something
143
- larger than one directory.
144
-
145
- Arguments:
146
- source: The path to be normalize.d
147
-
148
- Returns:
149
- The normalized path.
150
- """
151
- normalized = os.path.normpath(source)
152
- if source.count('$') == normalized.count('$'):
153
- source = normalized
154
- return source
155
-
156
-
157
- def _FixPath(path):
158
- """Convert paths to a form that will make sense in a vcproj file.
159
-
160
- Arguments:
161
- path: The path to convert, may contain / etc.
162
- Returns:
163
- The path with all slashes made into backslashes.
164
- """
165
- if fixpath_prefix and path and not os.path.isabs(path) and not path[0] == '$':
166
- path = os.path.join(fixpath_prefix, path)
167
- path = path.replace('/', '\\')
168
- path = _NormalizedSource(path)
169
- if path and path[-1] == '\\':
170
- path = path[:-1]
171
- return path
172
-
173
-
174
- def _FixPaths(paths):
175
- """Fix each of the paths of the list."""
176
- return [_FixPath(i) for i in paths]
177
-
178
-
179
- def _ConvertSourcesToFilterHierarchy(sources, prefix=None, excluded=None,
180
- list_excluded=True, msvs_version=None):
181
- """Converts a list split source file paths into a vcproj folder hierarchy.
182
-
183
- Arguments:
184
- sources: A list of source file paths split.
185
- prefix: A list of source file path layers meant to apply to each of sources.
186
- excluded: A set of excluded files.
187
- msvs_version: A MSVSVersion object.
188
-
189
- Returns:
190
- A hierarchy of filenames and MSVSProject.Filter objects that matches the
191
- layout of the source tree.
192
- For example:
193
- _ConvertSourcesToFilterHierarchy([['a', 'bob1.c'], ['b', 'bob2.c']],
194
- prefix=['joe'])
195
- -->
196
- [MSVSProject.Filter('a', contents=['joe\\a\\bob1.c']),
197
- MSVSProject.Filter('b', contents=['joe\\b\\bob2.c'])]
198
- """
199
- if not prefix: prefix = []
200
- result = []
201
- excluded_result = []
202
- folders = OrderedDict()
203
- # Gather files into the final result, excluded, or folders.
204
- for s in sources:
205
- if len(s) == 1:
206
- filename = _NormalizedSource('\\'.join(prefix + s))
207
- if filename in excluded:
208
- excluded_result.append(filename)
209
- else:
210
- result.append(filename)
211
- elif msvs_version and not msvs_version.UsesVcxproj():
212
- # For MSVS 2008 and earlier, we need to process all files before walking
213
- # the sub folders.
214
- if not folders.get(s[0]):
215
- folders[s[0]] = []
216
- folders[s[0]].append(s[1:])
217
- else:
218
- contents = _ConvertSourcesToFilterHierarchy([s[1:]], prefix + [s[0]],
219
- excluded=excluded,
220
- list_excluded=list_excluded,
221
- msvs_version=msvs_version)
222
- contents = MSVSProject.Filter(s[0], contents=contents)
223
- result.append(contents)
224
- # Add a folder for excluded files.
225
- if excluded_result and list_excluded:
226
- excluded_folder = MSVSProject.Filter('_excluded_files',
227
- contents=excluded_result)
228
- result.append(excluded_folder)
229
-
230
- if msvs_version and msvs_version.UsesVcxproj():
231
- return result
232
-
233
- # Populate all the folders.
234
- for f in folders:
235
- contents = _ConvertSourcesToFilterHierarchy(folders[f], prefix=prefix + [f],
236
- excluded=excluded,
237
- list_excluded=list_excluded,
238
- msvs_version=msvs_version)
239
- contents = MSVSProject.Filter(f, contents=contents)
240
- result.append(contents)
241
- return result
242
-
243
-
244
- def _ToolAppend(tools, tool_name, setting, value, only_if_unset=False):
245
- if not value: return
246
- _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset)
247
-
248
-
249
- def _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset=False):
250
- # TODO(bradnelson): ugly hack, fix this more generally!!!
251
- if 'Directories' in setting or 'Dependencies' in setting:
252
- if type(value) == str:
253
- value = value.replace('/', '\\')
254
- else:
255
- value = [i.replace('/', '\\') for i in value]
256
- if not tools.get(tool_name):
257
- tools[tool_name] = dict()
258
- tool = tools[tool_name]
259
- if tool.get(setting):
260
- if only_if_unset: return
261
- if type(tool[setting]) == list and type(value) == list:
262
- tool[setting] += value
263
- else:
264
- raise TypeError(
265
- 'Appending "%s" to a non-list setting "%s" for tool "%s" is '
266
- 'not allowed, previous value: %s' % (
267
- value, setting, tool_name, str(tool[setting])))
268
- else:
269
- tool[setting] = value
270
-
271
-
272
- def _ConfigPlatform(config_data):
273
- return config_data.get('msvs_configuration_platform', 'Win32')
274
-
275
-
276
- def _ConfigBaseName(config_name, platform_name):
277
- if config_name.endswith('_' + platform_name):
278
- return config_name[0:-len(platform_name) - 1]
279
- else:
280
- return config_name
281
-
282
-
283
- def _ConfigFullName(config_name, config_data):
284
- platform_name = _ConfigPlatform(config_data)
285
- return '%s|%s' % (_ConfigBaseName(config_name, platform_name), platform_name)
286
-
287
-
288
- def _ConfigWindowsTargetPlatformVersion(config_data):
289
- ver = config_data.get('msvs_windows_target_platform_version')
290
- if not ver or re.match(r'^\d+', ver):
291
- return ver
292
- for key in [r'HKLM\Software\Microsoft\Microsoft SDKs\Windows\%s',
293
- r'HKLM\Software\Wow6432Node\Microsoft\Microsoft SDKs\Windows\%s']:
294
- sdkdir = MSVSVersion._RegistryGetValue(key % ver, 'InstallationFolder')
295
- if not sdkdir:
296
- continue
297
- version = MSVSVersion._RegistryGetValue(key % ver, 'ProductVersion') or ''
298
- # find a matching entry in sdkdir\include
299
- names = sorted([x for x in os.listdir(r'%s\include' % sdkdir) \
300
- if x.startswith(version)], reverse = True)
301
- return names[0]
302
-
303
-
304
- def _BuildCommandLineForRuleRaw(spec, cmd, cygwin_shell, has_input_path,
305
- quote_cmd, do_setup_env):
306
-
307
- if [x for x in cmd if '$(InputDir)' in x]:
308
- input_dir_preamble = (
309
- 'set INPUTDIR=$(InputDir)\n'
310
- 'if NOT DEFINED INPUTDIR set INPUTDIR=.\\\n'
311
- 'set INPUTDIR=%INPUTDIR:~0,-1%\n'
312
- )
313
- else:
314
- input_dir_preamble = ''
315
-
316
- if cygwin_shell:
317
- # Find path to cygwin.
318
- cygwin_dir = _FixPath(spec.get('msvs_cygwin_dirs', ['.'])[0])
319
- # Prepare command.
320
- direct_cmd = cmd
321
- direct_cmd = [i.replace('$(IntDir)',
322
- '`cygpath -m "${INTDIR}"`') for i in direct_cmd]
323
- direct_cmd = [i.replace('$(OutDir)',
324
- '`cygpath -m "${OUTDIR}"`') for i in direct_cmd]
325
- direct_cmd = [i.replace('$(InputDir)',
326
- '`cygpath -m "${INPUTDIR}"`') for i in direct_cmd]
327
- if has_input_path:
328
- direct_cmd = [i.replace('$(InputPath)',
329
- '`cygpath -m "${INPUTPATH}"`')
330
- for i in direct_cmd]
331
- direct_cmd = ['\\"%s\\"' % i.replace('"', '\\\\\\"') for i in direct_cmd]
332
- # direct_cmd = gyp.common.EncodePOSIXShellList(direct_cmd)
333
- direct_cmd = ' '.join(direct_cmd)
334
- # TODO(quote): regularize quoting path names throughout the module
335
- cmd = ''
336
- if do_setup_env:
337
- cmd += 'call "$(ProjectDir)%(cygwin_dir)s\\setup_env.bat" && '
338
- cmd += 'set CYGWIN=nontsec&& '
339
- if direct_cmd.find('NUMBER_OF_PROCESSORS') >= 0:
340
- cmd += 'set /a NUMBER_OF_PROCESSORS_PLUS_1=%%NUMBER_OF_PROCESSORS%%+1&& '
341
- if direct_cmd.find('INTDIR') >= 0:
342
- cmd += 'set INTDIR=$(IntDir)&& '
343
- if direct_cmd.find('OUTDIR') >= 0:
344
- cmd += 'set OUTDIR=$(OutDir)&& '
345
- if has_input_path and direct_cmd.find('INPUTPATH') >= 0:
346
- cmd += 'set INPUTPATH=$(InputPath) && '
347
- cmd += 'bash -c "%(cmd)s"'
348
- cmd = cmd % {'cygwin_dir': cygwin_dir,
349
- 'cmd': direct_cmd}
350
- return input_dir_preamble + cmd
351
- else:
352
- # Convert cat --> type to mimic unix.
353
- if cmd[0] == 'cat':
354
- command = ['type']
355
- else:
356
- command = [cmd[0].replace('/', '\\')]
357
- # Add call before command to ensure that commands can be tied together one
358
- # after the other without aborting in Incredibuild, since IB makes a bat
359
- # file out of the raw command string, and some commands (like python) are
360
- # actually batch files themselves.
361
- command.insert(0, 'call')
362
- # Fix the paths
363
- # TODO(quote): This is a really ugly heuristic, and will miss path fixing
364
- # for arguments like "--arg=path" or "/opt:path".
365
- # If the argument starts with a slash or dash, it's probably a command line
366
- # switch
367
- arguments = [i if (i[:1] in "/-") else _FixPath(i) for i in cmd[1:]]
368
- arguments = [i.replace('$(InputDir)', '%INPUTDIR%') for i in arguments]
369
- arguments = [MSVSSettings.FixVCMacroSlashes(i) for i in arguments]
370
- if quote_cmd:
371
- # Support a mode for using cmd directly.
372
- # Convert any paths to native form (first element is used directly).
373
- # TODO(quote): regularize quoting path names throughout the module
374
- arguments = ['"%s"' % i for i in arguments]
375
- # Collapse into a single command.
376
- return input_dir_preamble + ' '.join(command + arguments)
377
-
378
-
379
- def _BuildCommandLineForRule(spec, rule, has_input_path, do_setup_env):
380
- # Currently this weird argument munging is used to duplicate the way a
381
- # python script would need to be run as part of the chrome tree.
382
- # Eventually we should add some sort of rule_default option to set this
383
- # per project. For now the behavior chrome needs is the default.
384
- mcs = rule.get('msvs_cygwin_shell')
385
- if mcs is None:
386
- mcs = int(spec.get('msvs_cygwin_shell', 1))
387
- elif isinstance(mcs, str):
388
- mcs = int(mcs)
389
- quote_cmd = int(rule.get('msvs_quote_cmd', 1))
390
- return _BuildCommandLineForRuleRaw(spec, rule['action'], mcs, has_input_path,
391
- quote_cmd, do_setup_env=do_setup_env)
392
-
393
-
394
- def _AddActionStep(actions_dict, inputs, outputs, description, command):
395
- """Merge action into an existing list of actions.
396
-
397
- Care must be taken so that actions which have overlapping inputs either don't
398
- get assigned to the same input, or get collapsed into one.
399
-
400
- Arguments:
401
- actions_dict: dictionary keyed on input name, which maps to a list of
402
- dicts describing the actions attached to that input file.
403
- inputs: list of inputs
404
- outputs: list of outputs
405
- description: description of the action
406
- command: command line to execute
407
- """
408
- # Require there to be at least one input (call sites will ensure this).
409
- assert inputs
410
-
411
- action = {
412
- 'inputs': inputs,
413
- 'outputs': outputs,
414
- 'description': description,
415
- 'command': command,
416
- }
417
-
418
- # Pick where to stick this action.
419
- # While less than optimal in terms of build time, attach them to the first
420
- # input for now.
421
- chosen_input = inputs[0]
422
-
423
- # Add it there.
424
- if chosen_input not in actions_dict:
425
- actions_dict[chosen_input] = []
426
- actions_dict[chosen_input].append(action)
427
-
428
-
429
- def _AddCustomBuildToolForMSVS(p, spec, primary_input,
430
- inputs, outputs, description, cmd):
431
- """Add a custom build tool to execute something.
432
-
433
- Arguments:
434
- p: the target project
435
- spec: the target project dict
436
- primary_input: input file to attach the build tool to
437
- inputs: list of inputs
438
- outputs: list of outputs
439
- description: description of the action
440
- cmd: command line to execute
441
- """
442
- inputs = _FixPaths(inputs)
443
- outputs = _FixPaths(outputs)
444
- tool = MSVSProject.Tool(
445
- 'VCCustomBuildTool',
446
- {'Description': description,
447
- 'AdditionalDependencies': ';'.join(inputs),
448
- 'Outputs': ';'.join(outputs),
449
- 'CommandLine': cmd,
450
- })
451
- # Add to the properties of primary input for each config.
452
- for config_name, c_data in spec['configurations'].iteritems():
453
- p.AddFileConfig(_FixPath(primary_input),
454
- _ConfigFullName(config_name, c_data), tools=[tool])
455
-
456
-
457
- def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
458
- """Add actions accumulated into an actions_dict, merging as needed.
459
-
460
- Arguments:
461
- p: the target project
462
- spec: the target project dict
463
- actions_dict: dictionary keyed on input name, which maps to a list of
464
- dicts describing the actions attached to that input file.
465
- """
466
- for primary_input in actions_dict:
467
- inputs = OrderedSet()
468
- outputs = OrderedSet()
469
- descriptions = []
470
- commands = []
471
- for action in actions_dict[primary_input]:
472
- inputs.update(OrderedSet(action['inputs']))
473
- outputs.update(OrderedSet(action['outputs']))
474
- descriptions.append(action['description'])
475
- commands.append(action['command'])
476
- # Add the custom build step for one input file.
477
- description = ', and also '.join(descriptions)
478
- command = '\r\n'.join(commands)
479
- _AddCustomBuildToolForMSVS(p, spec,
480
- primary_input=primary_input,
481
- inputs=inputs,
482
- outputs=outputs,
483
- description=description,
484
- cmd=command)
485
-
486
-
487
- def _RuleExpandPath(path, input_file):
488
- """Given the input file to which a rule applied, string substitute a path.
489
-
490
- Arguments:
491
- path: a path to string expand
492
- input_file: the file to which the rule applied.
493
- Returns:
494
- The string substituted path.
495
- """
496
- path = path.replace('$(InputName)',
497
- os.path.splitext(os.path.split(input_file)[1])[0])
498
- path = path.replace('$(InputDir)', os.path.dirname(input_file))
499
- path = path.replace('$(InputExt)',
500
- os.path.splitext(os.path.split(input_file)[1])[1])
501
- path = path.replace('$(InputFileName)', os.path.split(input_file)[1])
502
- path = path.replace('$(InputPath)', input_file)
503
- return path
504
-
505
-
506
- def _FindRuleTriggerFiles(rule, sources):
507
- """Find the list of files which a particular rule applies to.
508
-
509
- Arguments:
510
- rule: the rule in question
511
- sources: the set of all known source files for this project
512
- Returns:
513
- The list of sources that trigger a particular rule.
514
- """
515
- return rule.get('rule_sources', [])
516
-
517
-
518
- def _RuleInputsAndOutputs(rule, trigger_file):
519
- """Find the inputs and outputs generated by a rule.
520
-
521
- Arguments:
522
- rule: the rule in question.
523
- trigger_file: the main trigger for this rule.
524
- Returns:
525
- The pair of (inputs, outputs) involved in this rule.
526
- """
527
- raw_inputs = _FixPaths(rule.get('inputs', []))
528
- raw_outputs = _FixPaths(rule.get('outputs', []))
529
- inputs = OrderedSet()
530
- outputs = OrderedSet()
531
- inputs.add(trigger_file)
532
- for i in raw_inputs:
533
- inputs.add(_RuleExpandPath(i, trigger_file))
534
- for o in raw_outputs:
535
- outputs.add(_RuleExpandPath(o, trigger_file))
536
- return (inputs, outputs)
537
-
538
-
539
- def _GenerateNativeRulesForMSVS(p, rules, output_dir, spec, options):
540
- """Generate a native rules file.
541
-
542
- Arguments:
543
- p: the target project
544
- rules: the set of rules to include
545
- output_dir: the directory in which the project/gyp resides
546
- spec: the project dict
547
- options: global generator options
548
- """
549
- rules_filename = '%s%s.rules' % (spec['target_name'],
550
- options.suffix)
551
- rules_file = MSVSToolFile.Writer(os.path.join(output_dir, rules_filename),
552
- spec['target_name'])
553
- # Add each rule.
554
- for r in rules:
555
- rule_name = r['rule_name']
556
- rule_ext = r['extension']
557
- inputs = _FixPaths(r.get('inputs', []))
558
- outputs = _FixPaths(r.get('outputs', []))
559
- # Skip a rule with no action and no inputs.
560
- if 'action' not in r and not r.get('rule_sources', []):
561
- continue
562
- cmd = _BuildCommandLineForRule(spec, r, has_input_path=True,
563
- do_setup_env=True)
564
- rules_file.AddCustomBuildRule(name=rule_name,
565
- description=r.get('message', rule_name),
566
- extensions=[rule_ext],
567
- additional_dependencies=inputs,
568
- outputs=outputs,
569
- cmd=cmd)
570
- # Write out rules file.
571
- rules_file.WriteIfChanged()
572
-
573
- # Add rules file to project.
574
- p.AddToolFile(rules_filename)
575
-
576
-
577
- def _Cygwinify(path):
578
- path = path.replace('$(OutDir)', '$(OutDirCygwin)')
579
- path = path.replace('$(IntDir)', '$(IntDirCygwin)')
580
- return path
581
-
582
-
583
- def _GenerateExternalRules(rules, output_dir, spec,
584
- sources, options, actions_to_add):
585
- """Generate an external makefile to do a set of rules.
586
-
587
- Arguments:
588
- rules: the list of rules to include
589
- output_dir: path containing project and gyp files
590
- spec: project specification data
591
- sources: set of sources known
592
- options: global generator options
593
- actions_to_add: The list of actions we will add to.
594
- """
595
- filename = '%s_rules%s.mk' % (spec['target_name'], options.suffix)
596
- mk_file = gyp.common.WriteOnDiff(os.path.join(output_dir, filename))
597
- # Find cygwin style versions of some paths.
598
- mk_file.write('OutDirCygwin:=$(shell cygpath -u "$(OutDir)")\n')
599
- mk_file.write('IntDirCygwin:=$(shell cygpath -u "$(IntDir)")\n')
600
- # Gather stuff needed to emit all: target.
601
- all_inputs = OrderedSet()
602
- all_outputs = OrderedSet()
603
- all_output_dirs = OrderedSet()
604
- first_outputs = []
605
- for rule in rules:
606
- trigger_files = _FindRuleTriggerFiles(rule, sources)
607
- for tf in trigger_files:
608
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
609
- all_inputs.update(OrderedSet(inputs))
610
- all_outputs.update(OrderedSet(outputs))
611
- # Only use one target from each rule as the dependency for
612
- # 'all' so we don't try to build each rule multiple times.
613
- first_outputs.append(list(outputs)[0])
614
- # Get the unique output directories for this rule.
615
- output_dirs = [os.path.split(i)[0] for i in outputs]
616
- for od in output_dirs:
617
- all_output_dirs.add(od)
618
- first_outputs_cyg = [_Cygwinify(i) for i in first_outputs]
619
- # Write out all: target, including mkdir for each output directory.
620
- mk_file.write('all: %s\n' % ' '.join(first_outputs_cyg))
621
- for od in all_output_dirs:
622
- if od:
623
- mk_file.write('\tmkdir -p `cygpath -u "%s"`\n' % od)
624
- mk_file.write('\n')
625
- # Define how each output is generated.
626
- for rule in rules:
627
- trigger_files = _FindRuleTriggerFiles(rule, sources)
628
- for tf in trigger_files:
629
- # Get all the inputs and outputs for this rule for this trigger file.
630
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
631
- inputs = [_Cygwinify(i) for i in inputs]
632
- outputs = [_Cygwinify(i) for i in outputs]
633
- # Prepare the command line for this rule.
634
- cmd = [_RuleExpandPath(c, tf) for c in rule['action']]
635
- cmd = ['"%s"' % i for i in cmd]
636
- cmd = ' '.join(cmd)
637
- # Add it to the makefile.
638
- mk_file.write('%s: %s\n' % (' '.join(outputs), ' '.join(inputs)))
639
- mk_file.write('\t%s\n\n' % cmd)
640
- # Close up the file.
641
- mk_file.close()
642
-
643
- # Add makefile to list of sources.
644
- sources.add(filename)
645
- # Add a build action to call makefile.
646
- cmd = ['make',
647
- 'OutDir=$(OutDir)',
648
- 'IntDir=$(IntDir)',
649
- '-j', '${NUMBER_OF_PROCESSORS_PLUS_1}',
650
- '-f', filename]
651
- cmd = _BuildCommandLineForRuleRaw(spec, cmd, True, False, True, True)
652
- # Insert makefile as 0'th input, so it gets the action attached there,
653
- # as this is easier to understand from in the IDE.
654
- all_inputs = list(all_inputs)
655
- all_inputs.insert(0, filename)
656
- _AddActionStep(actions_to_add,
657
- inputs=_FixPaths(all_inputs),
658
- outputs=_FixPaths(all_outputs),
659
- description='Running external rules for %s' %
660
- spec['target_name'],
661
- command=cmd)
662
-
663
-
664
- def _EscapeEnvironmentVariableExpansion(s):
665
- """Escapes % characters.
666
-
667
- Escapes any % characters so that Windows-style environment variable
668
- expansions will leave them alone.
669
- See http://connect.microsoft.com/VisualStudio/feedback/details/106127/cl-d-name-text-containing-percentage-characters-doesnt-compile
670
- to understand why we have to do this.
671
-
672
- Args:
673
- s: The string to be escaped.
674
-
675
- Returns:
676
- The escaped string.
677
- """
678
- s = s.replace('%', '%%')
679
- return s
680
-
681
-
682
- quote_replacer_regex = re.compile(r'(\\*)"')
683
-
684
-
685
- def _EscapeCommandLineArgumentForMSVS(s):
686
- """Escapes a Windows command-line argument.
687
-
688
- So that the Win32 CommandLineToArgv function will turn the escaped result back
689
- into the original string.
690
- See http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
691
- ("Parsing C++ Command-Line Arguments") to understand why we have to do
692
- this.
693
-
694
- Args:
695
- s: the string to be escaped.
696
- Returns:
697
- the escaped string.
698
- """
699
-
700
- def _Replace(match):
701
- # For a literal quote, CommandLineToArgv requires an odd number of
702
- # backslashes preceding it, and it produces half as many literal backslashes
703
- # (rounded down). So we need to produce 2n+1 backslashes.
704
- return 2 * match.group(1) + '\\"'
705
-
706
- # Escape all quotes so that they are interpreted literally.
707
- s = quote_replacer_regex.sub(_Replace, s)
708
- # Now add unescaped quotes so that any whitespace is interpreted literally.
709
- s = '"' + s + '"'
710
- return s
711
-
712
-
713
- delimiters_replacer_regex = re.compile(r'(\\*)([,;]+)')
714
-
715
-
716
- def _EscapeVCProjCommandLineArgListItem(s):
717
- """Escapes command line arguments for MSVS.
718
-
719
- The VCProj format stores string lists in a single string using commas and
720
- semi-colons as separators, which must be quoted if they are to be
721
- interpreted literally. However, command-line arguments may already have
722
- quotes, and the VCProj parser is ignorant of the backslash escaping
723
- convention used by CommandLineToArgv, so the command-line quotes and the
724
- VCProj quotes may not be the same quotes. So to store a general
725
- command-line argument in a VCProj list, we need to parse the existing
726
- quoting according to VCProj's convention and quote any delimiters that are
727
- not already quoted by that convention. The quotes that we add will also be
728
- seen by CommandLineToArgv, so if backslashes precede them then we also have
729
- to escape those backslashes according to the CommandLineToArgv
730
- convention.
731
-
732
- Args:
733
- s: the string to be escaped.
734
- Returns:
735
- the escaped string.
736
- """
737
-
738
- def _Replace(match):
739
- # For a non-literal quote, CommandLineToArgv requires an even number of
740
- # backslashes preceding it, and it produces half as many literal
741
- # backslashes. So we need to produce 2n backslashes.
742
- return 2 * match.group(1) + '"' + match.group(2) + '"'
743
-
744
- segments = s.split('"')
745
- # The unquoted segments are at the even-numbered indices.
746
- for i in range(0, len(segments), 2):
747
- segments[i] = delimiters_replacer_regex.sub(_Replace, segments[i])
748
- # Concatenate back into a single string
749
- s = '"'.join(segments)
750
- if len(segments) % 2 == 0:
751
- # String ends while still quoted according to VCProj's convention. This
752
- # means the delimiter and the next list item that follow this one in the
753
- # .vcproj file will be misinterpreted as part of this item. There is nothing
754
- # we can do about this. Adding an extra quote would correct the problem in
755
- # the VCProj but cause the same problem on the final command-line. Moving
756
- # the item to the end of the list does works, but that's only possible if
757
- # there's only one such item. Let's just warn the user.
758
- print >> sys.stderr, ('Warning: MSVS may misinterpret the odd number of ' +
759
- 'quotes in ' + s)
760
- return s
761
-
762
-
763
- def _EscapeCppDefineForMSVS(s):
764
- """Escapes a CPP define so that it will reach the compiler unaltered."""
765
- s = _EscapeEnvironmentVariableExpansion(s)
766
- s = _EscapeCommandLineArgumentForMSVS(s)
767
- s = _EscapeVCProjCommandLineArgListItem(s)
768
- # cl.exe replaces literal # characters with = in preprocesor definitions for
769
- # some reason. Octal-encode to work around that.
770
- s = s.replace('#', '\\%03o' % ord('#'))
771
- return s
772
-
773
-
774
- quote_replacer_regex2 = re.compile(r'(\\+)"')
775
-
776
-
777
- def _EscapeCommandLineArgumentForMSBuild(s):
778
- """Escapes a Windows command-line argument for use by MSBuild."""
779
-
780
- def _Replace(match):
781
- return (len(match.group(1)) / 2 * 4) * '\\' + '\\"'
782
-
783
- # Escape all quotes so that they are interpreted literally.
784
- s = quote_replacer_regex2.sub(_Replace, s)
785
- return s
786
-
787
-
788
- def _EscapeMSBuildSpecialCharacters(s):
789
- escape_dictionary = {
790
- '%': '%25',
791
- '$': '%24',
792
- '@': '%40',
793
- "'": '%27',
794
- ';': '%3B',
795
- '?': '%3F',
796
- '*': '%2A'
797
- }
798
- result = ''.join([escape_dictionary.get(c, c) for c in s])
799
- return result
800
-
801
-
802
- def _EscapeCppDefineForMSBuild(s):
803
- """Escapes a CPP define so that it will reach the compiler unaltered."""
804
- s = _EscapeEnvironmentVariableExpansion(s)
805
- s = _EscapeCommandLineArgumentForMSBuild(s)
806
- s = _EscapeMSBuildSpecialCharacters(s)
807
- # cl.exe replaces literal # characters with = in preprocesor definitions for
808
- # some reason. Octal-encode to work around that.
809
- s = s.replace('#', '\\%03o' % ord('#'))
810
- return s
811
-
812
-
813
- def _GenerateRulesForMSVS(p, output_dir, options, spec,
814
- sources, excluded_sources,
815
- actions_to_add):
816
- """Generate all the rules for a particular project.
817
-
818
- Arguments:
819
- p: the project
820
- output_dir: directory to emit rules to
821
- options: global options passed to the generator
822
- spec: the specification for this project
823
- sources: the set of all known source files in this project
824
- excluded_sources: the set of sources excluded from normal processing
825
- actions_to_add: deferred list of actions to add in
826
- """
827
- rules = spec.get('rules', [])
828
- rules_native = [r for r in rules if not int(r.get('msvs_external_rule', 0))]
829
- rules_external = [r for r in rules if int(r.get('msvs_external_rule', 0))]
830
-
831
- # Handle rules that use a native rules file.
832
- if rules_native:
833
- _GenerateNativeRulesForMSVS(p, rules_native, output_dir, spec, options)
834
-
835
- # Handle external rules (non-native rules).
836
- if rules_external:
837
- _GenerateExternalRules(rules_external, output_dir, spec,
838
- sources, options, actions_to_add)
839
- _AdjustSourcesForRules(rules, sources, excluded_sources, False)
840
-
841
-
842
- def _AdjustSourcesForRules(rules, sources, excluded_sources, is_msbuild):
843
- # Add outputs generated by each rule (if applicable).
844
- for rule in rules:
845
- # Add in the outputs from this rule.
846
- trigger_files = _FindRuleTriggerFiles(rule, sources)
847
- for trigger_file in trigger_files:
848
- # Remove trigger_file from excluded_sources to let the rule be triggered
849
- # (e.g. rule trigger ax_enums.idl is added to excluded_sources
850
- # because it's also in an action's inputs in the same project)
851
- excluded_sources.discard(_FixPath(trigger_file))
852
- # Done if not processing outputs as sources.
853
- if int(rule.get('process_outputs_as_sources', False)):
854
- inputs, outputs = _RuleInputsAndOutputs(rule, trigger_file)
855
- inputs = OrderedSet(_FixPaths(inputs))
856
- outputs = OrderedSet(_FixPaths(outputs))
857
- inputs.remove(_FixPath(trigger_file))
858
- sources.update(inputs)
859
- if not is_msbuild:
860
- excluded_sources.update(inputs)
861
- sources.update(outputs)
862
-
863
-
864
- def _FilterActionsFromExcluded(excluded_sources, actions_to_add):
865
- """Take inputs with actions attached out of the list of exclusions.
866
-
867
- Arguments:
868
- excluded_sources: list of source files not to be built.
869
- actions_to_add: dict of actions keyed on source file they're attached to.
870
- Returns:
871
- excluded_sources with files that have actions attached removed.
872
- """
873
- must_keep = OrderedSet(_FixPaths(actions_to_add.keys()))
874
- return [s for s in excluded_sources if s not in must_keep]
875
-
876
-
877
- def _GetDefaultConfiguration(spec):
878
- return spec['configurations'][spec['default_configuration']]
879
-
880
-
881
- def _GetGuidOfProject(proj_path, spec):
882
- """Get the guid for the project.
883
-
884
- Arguments:
885
- proj_path: Path of the vcproj or vcxproj file to generate.
886
- spec: The target dictionary containing the properties of the target.
887
- Returns:
888
- the guid.
889
- Raises:
890
- ValueError: if the specified GUID is invalid.
891
- """
892
- # Pluck out the default configuration.
893
- default_config = _GetDefaultConfiguration(spec)
894
- # Decide the guid of the project.
895
- guid = default_config.get('msvs_guid')
896
- if guid:
897
- if VALID_MSVS_GUID_CHARS.match(guid) is None:
898
- raise ValueError('Invalid MSVS guid: "%s". Must match regex: "%s".' %
899
- (guid, VALID_MSVS_GUID_CHARS.pattern))
900
- guid = '{%s}' % guid
901
- guid = guid or MSVSNew.MakeGuid(proj_path)
902
- return guid
903
-
904
-
905
- def _GetMsbuildToolsetOfProject(proj_path, spec, version):
906
- """Get the platform toolset for the project.
907
-
908
- Arguments:
909
- proj_path: Path of the vcproj or vcxproj file to generate.
910
- spec: The target dictionary containing the properties of the target.
911
- version: The MSVSVersion object.
912
- Returns:
913
- the platform toolset string or None.
914
- """
915
- # Pluck out the default configuration.
916
- default_config = _GetDefaultConfiguration(spec)
917
- toolset = default_config.get('msbuild_toolset')
918
- if not toolset and version.DefaultToolset():
919
- toolset = version.DefaultToolset()
920
- return toolset
921
-
922
-
923
- def _GenerateProject(project, options, version, generator_flags):
924
- """Generates a vcproj file.
925
-
926
- Arguments:
927
- project: the MSVSProject object.
928
- options: global generator options.
929
- version: the MSVSVersion object.
930
- generator_flags: dict of generator-specific flags.
931
- Returns:
932
- A list of source files that cannot be found on disk.
933
- """
934
- default_config = _GetDefaultConfiguration(project.spec)
935
-
936
- # Skip emitting anything if told to with msvs_existing_vcproj option.
937
- if default_config.get('msvs_existing_vcproj'):
938
- return []
939
-
940
- if version.UsesVcxproj():
941
- return _GenerateMSBuildProject(project, options, version, generator_flags)
942
- else:
943
- return _GenerateMSVSProject(project, options, version, generator_flags)
944
-
945
-
946
- # TODO: Avoid code duplication with _ValidateSourcesForOSX in make.py.
947
- def _ValidateSourcesForMSVSProject(spec, version):
948
- """Makes sure if duplicate basenames are not specified in the source list.
949
-
950
- Arguments:
951
- spec: The target dictionary containing the properties of the target.
952
- version: The VisualStudioVersion object.
953
- """
954
- # This validation should not be applied to MSVC2010 and later.
955
- assert not version.UsesVcxproj()
956
-
957
- # TODO: Check if MSVC allows this for loadable_module targets.
958
- if spec.get('type', None) not in ('static_library', 'shared_library'):
959
- return
960
- sources = spec.get('sources', [])
961
- basenames = {}
962
- for source in sources:
963
- name, ext = os.path.splitext(source)
964
- is_compiled_file = ext in [
965
- '.c', '.cc', '.cpp', '.cxx', '.m', '.mm', '.s', '.S']
966
- if not is_compiled_file:
967
- continue
968
- basename = os.path.basename(name) # Don't include extension.
969
- basenames.setdefault(basename, []).append(source)
970
-
971
- error = ''
972
- for basename, files in basenames.iteritems():
973
- if len(files) > 1:
974
- error += ' %s: %s\n' % (basename, ' '.join(files))
975
-
976
- if error:
977
- print('static library %s has several files with the same basename:\n' %
978
- spec['target_name'] + error + 'MSVC08 cannot handle that.')
979
- raise GypError('Duplicate basenames in sources section, see list above')
980
-
981
-
982
- def _GenerateMSVSProject(project, options, version, generator_flags):
983
- """Generates a .vcproj file. It may create .rules and .user files too.
984
-
985
- Arguments:
986
- project: The project object we will generate the file for.
987
- options: Global options passed to the generator.
988
- version: The VisualStudioVersion object.
989
- generator_flags: dict of generator-specific flags.
990
- """
991
- spec = project.spec
992
- gyp.common.EnsureDirExists(project.path)
993
-
994
- platforms = _GetUniquePlatforms(spec)
995
- p = MSVSProject.Writer(project.path, version, spec['target_name'],
996
- project.guid, platforms)
997
-
998
- # Get directory project file is in.
999
- project_dir = os.path.split(project.path)[0]
1000
- gyp_path = _NormalizedSource(project.build_file)
1001
- relative_path_of_gyp_file = gyp.common.RelativePath(gyp_path, project_dir)
1002
-
1003
- config_type = _GetMSVSConfigurationType(spec, project.build_file)
1004
- for config_name, config in spec['configurations'].iteritems():
1005
- _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config)
1006
-
1007
- # MSVC08 and prior version cannot handle duplicate basenames in the same
1008
- # target.
1009
- # TODO: Take excluded sources into consideration if possible.
1010
- _ValidateSourcesForMSVSProject(spec, version)
1011
-
1012
- # Prepare list of sources and excluded sources.
1013
- gyp_file = os.path.split(project.build_file)[1]
1014
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags,
1015
- gyp_file)
1016
-
1017
- # Add rules.
1018
- actions_to_add = {}
1019
- _GenerateRulesForMSVS(p, project_dir, options, spec,
1020
- sources, excluded_sources,
1021
- actions_to_add)
1022
- list_excluded = generator_flags.get('msvs_list_excluded_files', True)
1023
- sources, excluded_sources, excluded_idl = (
1024
- _AdjustSourcesAndConvertToFilterHierarchy(spec, options, project_dir,
1025
- sources, excluded_sources,
1026
- list_excluded, version))
1027
-
1028
- # Add in files.
1029
- missing_sources = _VerifySourcesExist(sources, project_dir)
1030
- p.AddFiles(sources)
1031
-
1032
- _AddToolFilesToMSVS(p, spec)
1033
- _HandlePreCompiledHeaders(p, sources, spec)
1034
- _AddActions(actions_to_add, spec, relative_path_of_gyp_file)
1035
- _AddCopies(actions_to_add, spec)
1036
- _WriteMSVSUserFile(project.path, version, spec)
1037
-
1038
- # NOTE: this stanza must appear after all actions have been decided.
1039
- # Don't excluded sources with actions attached, or they won't run.
1040
- excluded_sources = _FilterActionsFromExcluded(
1041
- excluded_sources, actions_to_add)
1042
- _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl,
1043
- list_excluded)
1044
- _AddAccumulatedActionsToMSVS(p, spec, actions_to_add)
1045
-
1046
- # Write it out.
1047
- p.WriteIfChanged()
1048
-
1049
- return missing_sources
1050
-
1051
-
1052
- def _GetUniquePlatforms(spec):
1053
- """Returns the list of unique platforms for this spec, e.g ['win32', ...].
1054
-
1055
- Arguments:
1056
- spec: The target dictionary containing the properties of the target.
1057
- Returns:
1058
- The MSVSUserFile object created.
1059
- """
1060
- # Gather list of unique platforms.
1061
- platforms = OrderedSet()
1062
- for configuration in spec['configurations']:
1063
- platforms.add(_ConfigPlatform(spec['configurations'][configuration]))
1064
- platforms = list(platforms)
1065
- return platforms
1066
-
1067
-
1068
- def _CreateMSVSUserFile(proj_path, version, spec):
1069
- """Generates a .user file for the user running this Gyp program.
1070
-
1071
- Arguments:
1072
- proj_path: The path of the project file being created. The .user file
1073
- shares the same path (with an appropriate suffix).
1074
- version: The VisualStudioVersion object.
1075
- spec: The target dictionary containing the properties of the target.
1076
- Returns:
1077
- The MSVSUserFile object created.
1078
- """
1079
- (domain, username) = _GetDomainAndUserName()
1080
- vcuser_filename = '.'.join([proj_path, domain, username, 'user'])
1081
- user_file = MSVSUserFile.Writer(vcuser_filename, version,
1082
- spec['target_name'])
1083
- return user_file
1084
-
1085
-
1086
- def _GetMSVSConfigurationType(spec, build_file):
1087
- """Returns the configuration type for this project.
1088
-
1089
- It's a number defined by Microsoft. May raise an exception.
1090
-
1091
- Args:
1092
- spec: The target dictionary containing the properties of the target.
1093
- build_file: The path of the gyp file.
1094
- Returns:
1095
- An integer, the configuration type.
1096
- """
1097
- try:
1098
- config_type = {
1099
- 'executable': '1', # .exe
1100
- 'shared_library': '2', # .dll
1101
- 'loadable_module': '2', # .dll
1102
- 'static_library': '4', # .lib
1103
- 'none': '10', # Utility type
1104
- }[spec['type']]
1105
- except KeyError:
1106
- if spec.get('type'):
1107
- raise GypError('Target type %s is not a valid target type for '
1108
- 'target %s in %s.' %
1109
- (spec['type'], spec['target_name'], build_file))
1110
- else:
1111
- raise GypError('Missing type field for target %s in %s.' %
1112
- (spec['target_name'], build_file))
1113
- return config_type
1114
-
1115
-
1116
- def _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config):
1117
- """Adds a configuration to the MSVS project.
1118
-
1119
- Many settings in a vcproj file are specific to a configuration. This
1120
- function the main part of the vcproj file that's configuration specific.
1121
-
1122
- Arguments:
1123
- p: The target project being generated.
1124
- spec: The target dictionary containing the properties of the target.
1125
- config_type: The configuration type, a number as defined by Microsoft.
1126
- config_name: The name of the configuration.
1127
- config: The dictionary that defines the special processing to be done
1128
- for this configuration.
1129
- """
1130
- # Get the information for this configuration
1131
- include_dirs, midl_include_dirs, resource_include_dirs = \
1132
- _GetIncludeDirs(config)
1133
- libraries = _GetLibraries(spec)
1134
- library_dirs = _GetLibraryDirs(config)
1135
- out_file, vc_tool, _ = _GetOutputFilePathAndTool(spec, msbuild=False)
1136
- defines = _GetDefines(config)
1137
- defines = [_EscapeCppDefineForMSVS(d) for d in defines]
1138
- disabled_warnings = _GetDisabledWarnings(config)
1139
- prebuild = config.get('msvs_prebuild')
1140
- postbuild = config.get('msvs_postbuild')
1141
- def_file = _GetModuleDefinition(spec)
1142
- precompiled_header = config.get('msvs_precompiled_header')
1143
-
1144
- # Prepare the list of tools as a dictionary.
1145
- tools = dict()
1146
- # Add in user specified msvs_settings.
1147
- msvs_settings = config.get('msvs_settings', {})
1148
- MSVSSettings.ValidateMSVSSettings(msvs_settings)
1149
-
1150
- # Prevent default library inheritance from the environment.
1151
- _ToolAppend(tools, 'VCLinkerTool', 'AdditionalDependencies', ['$(NOINHERIT)'])
1152
-
1153
- for tool in msvs_settings:
1154
- settings = config['msvs_settings'][tool]
1155
- for setting in settings:
1156
- _ToolAppend(tools, tool, setting, settings[setting])
1157
- # Add the information to the appropriate tool
1158
- _ToolAppend(tools, 'VCCLCompilerTool',
1159
- 'AdditionalIncludeDirectories', include_dirs)
1160
- _ToolAppend(tools, 'VCMIDLTool',
1161
- 'AdditionalIncludeDirectories', midl_include_dirs)
1162
- _ToolAppend(tools, 'VCResourceCompilerTool',
1163
- 'AdditionalIncludeDirectories', resource_include_dirs)
1164
- # Add in libraries.
1165
- _ToolAppend(tools, 'VCLinkerTool', 'AdditionalDependencies', libraries)
1166
- _ToolAppend(tools, 'VCLinkerTool', 'AdditionalLibraryDirectories',
1167
- library_dirs)
1168
- if out_file:
1169
- _ToolAppend(tools, vc_tool, 'OutputFile', out_file, only_if_unset=True)
1170
- # Add defines.
1171
- _ToolAppend(tools, 'VCCLCompilerTool', 'PreprocessorDefinitions', defines)
1172
- _ToolAppend(tools, 'VCResourceCompilerTool', 'PreprocessorDefinitions',
1173
- defines)
1174
- # Change program database directory to prevent collisions.
1175
- _ToolAppend(tools, 'VCCLCompilerTool', 'ProgramDataBaseFileName',
1176
- '$(IntDir)$(ProjectName)\\vc80.pdb', only_if_unset=True)
1177
- # Add disabled warnings.
1178
- _ToolAppend(tools, 'VCCLCompilerTool',
1179
- 'DisableSpecificWarnings', disabled_warnings)
1180
- # Add Pre-build.
1181
- _ToolAppend(tools, 'VCPreBuildEventTool', 'CommandLine', prebuild)
1182
- # Add Post-build.
1183
- _ToolAppend(tools, 'VCPostBuildEventTool', 'CommandLine', postbuild)
1184
- # Turn on precompiled headers if appropriate.
1185
- if precompiled_header:
1186
- precompiled_header = os.path.split(precompiled_header)[1]
1187
- _ToolAppend(tools, 'VCCLCompilerTool', 'UsePrecompiledHeader', '2')
1188
- _ToolAppend(tools, 'VCCLCompilerTool',
1189
- 'PrecompiledHeaderThrough', precompiled_header)
1190
- _ToolAppend(tools, 'VCCLCompilerTool',
1191
- 'ForcedIncludeFiles', precompiled_header)
1192
- # Loadable modules don't generate import libraries;
1193
- # tell dependent projects to not expect one.
1194
- if spec['type'] == 'loadable_module':
1195
- _ToolAppend(tools, 'VCLinkerTool', 'IgnoreImportLibrary', 'true')
1196
- # Set the module definition file if any.
1197
- if def_file:
1198
- _ToolAppend(tools, 'VCLinkerTool', 'ModuleDefinitionFile', def_file)
1199
-
1200
- _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name)
1201
-
1202
-
1203
- def _GetIncludeDirs(config):
1204
- """Returns the list of directories to be used for #include directives.
1205
-
1206
- Arguments:
1207
- config: The dictionary that defines the special processing to be done
1208
- for this configuration.
1209
- Returns:
1210
- The list of directory paths.
1211
- """
1212
- # TODO(bradnelson): include_dirs should really be flexible enough not to
1213
- # require this sort of thing.
1214
- include_dirs = (
1215
- config.get('include_dirs', []) +
1216
- config.get('msvs_system_include_dirs', []))
1217
- midl_include_dirs = (
1218
- config.get('midl_include_dirs', []) +
1219
- config.get('msvs_system_include_dirs', []))
1220
- resource_include_dirs = config.get('resource_include_dirs', include_dirs)
1221
- include_dirs = _FixPaths(include_dirs)
1222
- midl_include_dirs = _FixPaths(midl_include_dirs)
1223
- resource_include_dirs = _FixPaths(resource_include_dirs)
1224
- return include_dirs, midl_include_dirs, resource_include_dirs
1225
-
1226
-
1227
- def _GetLibraryDirs(config):
1228
- """Returns the list of directories to be used for library search paths.
1229
-
1230
- Arguments:
1231
- config: The dictionary that defines the special processing to be done
1232
- for this configuration.
1233
- Returns:
1234
- The list of directory paths.
1235
- """
1236
-
1237
- library_dirs = config.get('library_dirs', [])
1238
- library_dirs = _FixPaths(library_dirs)
1239
- return library_dirs
1240
-
1241
-
1242
- def _GetLibraries(spec):
1243
- """Returns the list of libraries for this configuration.
1244
-
1245
- Arguments:
1246
- spec: The target dictionary containing the properties of the target.
1247
- Returns:
1248
- The list of directory paths.
1249
- """
1250
- libraries = spec.get('libraries', [])
1251
- # Strip out -l, as it is not used on windows (but is needed so we can pass
1252
- # in libraries that are assumed to be in the default library path).
1253
- # Also remove duplicate entries, leaving only the last duplicate, while
1254
- # preserving order.
1255
- found = OrderedSet()
1256
- unique_libraries_list = []
1257
- for entry in reversed(libraries):
1258
- library = re.sub(r'^\-l', '', entry)
1259
- if not os.path.splitext(library)[1]:
1260
- library += '.lib'
1261
- if library not in found:
1262
- found.add(library)
1263
- unique_libraries_list.append(library)
1264
- unique_libraries_list.reverse()
1265
- return unique_libraries_list
1266
-
1267
-
1268
- def _GetOutputFilePathAndTool(spec, msbuild):
1269
- """Returns the path and tool to use for this target.
1270
-
1271
- Figures out the path of the file this spec will create and the name of
1272
- the VC tool that will create it.
1273
-
1274
- Arguments:
1275
- spec: The target dictionary containing the properties of the target.
1276
- Returns:
1277
- A triple of (file path, name of the vc tool, name of the msbuild tool)
1278
- """
1279
- # Select a name for the output file.
1280
- out_file = ''
1281
- vc_tool = ''
1282
- msbuild_tool = ''
1283
- output_file_map = {
1284
- 'executable': ('VCLinkerTool', 'Link', '$(OutDir)', '.exe'),
1285
- 'shared_library': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'),
1286
- 'loadable_module': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'),
1287
- 'static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\', '.lib'),
1288
- }
1289
- output_file_props = output_file_map.get(spec['type'])
1290
- if output_file_props and int(spec.get('msvs_auto_output_file', 1)):
1291
- vc_tool, msbuild_tool, out_dir, suffix = output_file_props
1292
- if spec.get('standalone_static_library', 0):
1293
- out_dir = '$(OutDir)'
1294
- out_dir = spec.get('product_dir', out_dir)
1295
- product_extension = spec.get('product_extension')
1296
- if product_extension:
1297
- suffix = '.' + product_extension
1298
- elif msbuild:
1299
- suffix = '$(TargetExt)'
1300
- prefix = spec.get('product_prefix', '')
1301
- product_name = spec.get('product_name', '$(ProjectName)')
1302
- out_file = ntpath.join(out_dir, prefix + product_name + suffix)
1303
- return out_file, vc_tool, msbuild_tool
1304
-
1305
-
1306
- def _GetOutputTargetExt(spec):
1307
- """Returns the extension for this target, including the dot
1308
-
1309
- If product_extension is specified, set target_extension to this to avoid
1310
- MSB8012, returns None otherwise. Ignores any target_extension settings in
1311
- the input files.
1312
-
1313
- Arguments:
1314
- spec: The target dictionary containing the properties of the target.
1315
- Returns:
1316
- A string with the extension, or None
1317
- """
1318
- target_extension = spec.get('product_extension')
1319
- if target_extension:
1320
- return '.' + target_extension
1321
- return None
1322
-
1323
-
1324
- def _GetDefines(config):
1325
- """Returns the list of preprocessor definitions for this configuation.
1326
-
1327
- Arguments:
1328
- config: The dictionary that defines the special processing to be done
1329
- for this configuration.
1330
- Returns:
1331
- The list of preprocessor definitions.
1332
- """
1333
- defines = []
1334
- for d in config.get('defines', []):
1335
- if type(d) == list:
1336
- fd = '='.join([str(dpart) for dpart in d])
1337
- else:
1338
- fd = str(d)
1339
- defines.append(fd)
1340
- return defines
1341
-
1342
-
1343
- def _GetDisabledWarnings(config):
1344
- return [str(i) for i in config.get('msvs_disabled_warnings', [])]
1345
-
1346
-
1347
- def _GetModuleDefinition(spec):
1348
- def_file = ''
1349
- if spec['type'] in ['shared_library', 'loadable_module', 'executable']:
1350
- def_files = [s for s in spec.get('sources', []) if s.endswith('.def')]
1351
- if len(def_files) == 1:
1352
- def_file = _FixPath(def_files[0])
1353
- elif def_files:
1354
- raise ValueError(
1355
- 'Multiple module definition files in one target, target %s lists '
1356
- 'multiple .def files: %s' % (
1357
- spec['target_name'], ' '.join(def_files)))
1358
- return def_file
1359
-
1360
-
1361
- def _ConvertToolsToExpectedForm(tools):
1362
- """Convert tools to a form expected by Visual Studio.
1363
-
1364
- Arguments:
1365
- tools: A dictionary of settings; the tool name is the key.
1366
- Returns:
1367
- A list of Tool objects.
1368
- """
1369
- tool_list = []
1370
- for tool, settings in tools.iteritems():
1371
- # Collapse settings with lists.
1372
- settings_fixed = {}
1373
- for setting, value in settings.iteritems():
1374
- if type(value) == list:
1375
- if ((tool == 'VCLinkerTool' and
1376
- setting == 'AdditionalDependencies') or
1377
- setting == 'AdditionalOptions'):
1378
- settings_fixed[setting] = ' '.join(value)
1379
- else:
1380
- settings_fixed[setting] = ';'.join(value)
1381
- else:
1382
- settings_fixed[setting] = value
1383
- # Add in this tool.
1384
- tool_list.append(MSVSProject.Tool(tool, settings_fixed))
1385
- return tool_list
1386
-
1387
-
1388
- def _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name):
1389
- """Add to the project file the configuration specified by config.
1390
-
1391
- Arguments:
1392
- p: The target project being generated.
1393
- spec: the target project dict.
1394
- tools: A dictionary of settings; the tool name is the key.
1395
- config: The dictionary that defines the special processing to be done
1396
- for this configuration.
1397
- config_type: The configuration type, a number as defined by Microsoft.
1398
- config_name: The name of the configuration.
1399
- """
1400
- attributes = _GetMSVSAttributes(spec, config, config_type)
1401
- # Add in this configuration.
1402
- tool_list = _ConvertToolsToExpectedForm(tools)
1403
- p.AddConfig(_ConfigFullName(config_name, config),
1404
- attrs=attributes, tools=tool_list)
1405
-
1406
-
1407
- def _GetMSVSAttributes(spec, config, config_type):
1408
- # Prepare configuration attributes.
1409
- prepared_attrs = {}
1410
- source_attrs = config.get('msvs_configuration_attributes', {})
1411
- for a in source_attrs:
1412
- prepared_attrs[a] = source_attrs[a]
1413
- # Add props files.
1414
- vsprops_dirs = config.get('msvs_props', [])
1415
- vsprops_dirs = _FixPaths(vsprops_dirs)
1416
- if vsprops_dirs:
1417
- prepared_attrs['InheritedPropertySheets'] = ';'.join(vsprops_dirs)
1418
- # Set configuration type.
1419
- prepared_attrs['ConfigurationType'] = config_type
1420
- output_dir = prepared_attrs.get('OutputDirectory',
1421
- '$(SolutionDir)$(ConfigurationName)')
1422
- prepared_attrs['OutputDirectory'] = _FixPath(output_dir) + '\\'
1423
- if 'IntermediateDirectory' not in prepared_attrs:
1424
- intermediate = '$(ConfigurationName)\\obj\\$(ProjectName)'
1425
- prepared_attrs['IntermediateDirectory'] = _FixPath(intermediate) + '\\'
1426
- else:
1427
- intermediate = _FixPath(prepared_attrs['IntermediateDirectory']) + '\\'
1428
- intermediate = MSVSSettings.FixVCMacroSlashes(intermediate)
1429
- prepared_attrs['IntermediateDirectory'] = intermediate
1430
- return prepared_attrs
1431
-
1432
-
1433
- def _AddNormalizedSources(sources_set, sources_array):
1434
- sources_set.update(_NormalizedSource(s) for s in sources_array)
1435
-
1436
-
1437
- def _PrepareListOfSources(spec, generator_flags, gyp_file):
1438
- """Prepare list of sources and excluded sources.
1439
-
1440
- Besides the sources specified directly in the spec, adds the gyp file so
1441
- that a change to it will cause a re-compile. Also adds appropriate sources
1442
- for actions and copies. Assumes later stage will un-exclude files which
1443
- have custom build steps attached.
1444
-
1445
- Arguments:
1446
- spec: The target dictionary containing the properties of the target.
1447
- gyp_file: The name of the gyp file.
1448
- Returns:
1449
- A pair of (list of sources, list of excluded sources).
1450
- The sources will be relative to the gyp file.
1451
- """
1452
- sources = OrderedSet()
1453
- _AddNormalizedSources(sources, spec.get('sources', []))
1454
- excluded_sources = OrderedSet()
1455
- # Add in the gyp file.
1456
- if not generator_flags.get('standalone'):
1457
- sources.add(gyp_file)
1458
-
1459
- # Add in 'action' inputs and outputs.
1460
- for a in spec.get('actions', []):
1461
- inputs = a['inputs']
1462
- inputs = [_NormalizedSource(i) for i in inputs]
1463
- # Add all inputs to sources and excluded sources.
1464
- inputs = OrderedSet(inputs)
1465
- sources.update(inputs)
1466
- if not spec.get('msvs_external_builder'):
1467
- excluded_sources.update(inputs)
1468
- if int(a.get('process_outputs_as_sources', False)):
1469
- _AddNormalizedSources(sources, a.get('outputs', []))
1470
- # Add in 'copies' inputs and outputs.
1471
- for cpy in spec.get('copies', []):
1472
- _AddNormalizedSources(sources, cpy.get('files', []))
1473
- return (sources, excluded_sources)
1474
-
1475
-
1476
- def _AdjustSourcesAndConvertToFilterHierarchy(
1477
- spec, options, gyp_dir, sources, excluded_sources, list_excluded, version):
1478
- """Adjusts the list of sources and excluded sources.
1479
-
1480
- Also converts the sets to lists.
1481
-
1482
- Arguments:
1483
- spec: The target dictionary containing the properties of the target.
1484
- options: Global generator options.
1485
- gyp_dir: The path to the gyp file being processed.
1486
- sources: A set of sources to be included for this project.
1487
- excluded_sources: A set of sources to be excluded for this project.
1488
- version: A MSVSVersion object.
1489
- Returns:
1490
- A trio of (list of sources, list of excluded sources,
1491
- path of excluded IDL file)
1492
- """
1493
- # Exclude excluded sources coming into the generator.
1494
- excluded_sources.update(OrderedSet(spec.get('sources_excluded', [])))
1495
- # Add excluded sources into sources for good measure.
1496
- sources.update(excluded_sources)
1497
- # Convert to proper windows form.
1498
- # NOTE: sources goes from being a set to a list here.
1499
- # NOTE: excluded_sources goes from being a set to a list here.
1500
- sources = _FixPaths(sources)
1501
- # Convert to proper windows form.
1502
- excluded_sources = _FixPaths(excluded_sources)
1503
-
1504
- excluded_idl = _IdlFilesHandledNonNatively(spec, sources)
1505
-
1506
- precompiled_related = _GetPrecompileRelatedFiles(spec)
1507
- # Find the excluded ones, minus the precompiled header related ones.
1508
- fully_excluded = [i for i in excluded_sources if i not in precompiled_related]
1509
-
1510
- # Convert to folders and the right slashes.
1511
- sources = [i.split('\\') for i in sources]
1512
- sources = _ConvertSourcesToFilterHierarchy(sources, excluded=fully_excluded,
1513
- list_excluded=list_excluded,
1514
- msvs_version=version)
1515
-
1516
- # Prune filters with a single child to flatten ugly directory structures
1517
- # such as ../../src/modules/module1 etc.
1518
- if version.UsesVcxproj():
1519
- while all([isinstance(s, MSVSProject.Filter) for s in sources]) \
1520
- and len(set([s.name for s in sources])) == 1:
1521
- assert all([len(s.contents) == 1 for s in sources])
1522
- sources = [s.contents[0] for s in sources]
1523
- else:
1524
- while len(sources) == 1 and isinstance(sources[0], MSVSProject.Filter):
1525
- sources = sources[0].contents
1526
-
1527
- return sources, excluded_sources, excluded_idl
1528
-
1529
-
1530
- def _IdlFilesHandledNonNatively(spec, sources):
1531
- # If any non-native rules use 'idl' as an extension exclude idl files.
1532
- # Gather a list here to use later.
1533
- using_idl = False
1534
- for rule in spec.get('rules', []):
1535
- if rule['extension'] == 'idl' and int(rule.get('msvs_external_rule', 0)):
1536
- using_idl = True
1537
- break
1538
- if using_idl:
1539
- excluded_idl = [i for i in sources if i.endswith('.idl')]
1540
- else:
1541
- excluded_idl = []
1542
- return excluded_idl
1543
-
1544
-
1545
- def _GetPrecompileRelatedFiles(spec):
1546
- # Gather a list of precompiled header related sources.
1547
- precompiled_related = []
1548
- for _, config in spec['configurations'].iteritems():
1549
- for k in precomp_keys:
1550
- f = config.get(k)
1551
- if f:
1552
- precompiled_related.append(_FixPath(f))
1553
- return precompiled_related
1554
-
1555
-
1556
- def _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl,
1557
- list_excluded):
1558
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
1559
- for file_name, excluded_configs in exclusions.iteritems():
1560
- if (not list_excluded and
1561
- len(excluded_configs) == len(spec['configurations'])):
1562
- # If we're not listing excluded files, then they won't appear in the
1563
- # project, so don't try to configure them to be excluded.
1564
- pass
1565
- else:
1566
- for config_name, config in excluded_configs:
1567
- p.AddFileConfig(file_name, _ConfigFullName(config_name, config),
1568
- {'ExcludedFromBuild': 'true'})
1569
-
1570
-
1571
- def _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl):
1572
- exclusions = {}
1573
- # Exclude excluded sources from being built.
1574
- for f in excluded_sources:
1575
- excluded_configs = []
1576
- for config_name, config in spec['configurations'].iteritems():
1577
- precomped = [_FixPath(config.get(i, '')) for i in precomp_keys]
1578
- # Don't do this for ones that are precompiled header related.
1579
- if f not in precomped:
1580
- excluded_configs.append((config_name, config))
1581
- exclusions[f] = excluded_configs
1582
- # If any non-native rules use 'idl' as an extension exclude idl files.
1583
- # Exclude them now.
1584
- for f in excluded_idl:
1585
- excluded_configs = []
1586
- for config_name, config in spec['configurations'].iteritems():
1587
- excluded_configs.append((config_name, config))
1588
- exclusions[f] = excluded_configs
1589
- return exclusions
1590
-
1591
-
1592
- def _AddToolFilesToMSVS(p, spec):
1593
- # Add in tool files (rules).
1594
- tool_files = OrderedSet()
1595
- for _, config in spec['configurations'].iteritems():
1596
- for f in config.get('msvs_tool_files', []):
1597
- tool_files.add(f)
1598
- for f in tool_files:
1599
- p.AddToolFile(f)
1600
-
1601
-
1602
- def _HandlePreCompiledHeaders(p, sources, spec):
1603
- # Pre-compiled header source stubs need a different compiler flag
1604
- # (generate precompiled header) and any source file not of the same
1605
- # kind (i.e. C vs. C++) as the precompiled header source stub needs
1606
- # to have use of precompiled headers disabled.
1607
- extensions_excluded_from_precompile = []
1608
- for config_name, config in spec['configurations'].iteritems():
1609
- source = config.get('msvs_precompiled_source')
1610
- if source:
1611
- source = _FixPath(source)
1612
- # UsePrecompiledHeader=1 for if using precompiled headers.
1613
- tool = MSVSProject.Tool('VCCLCompilerTool',
1614
- {'UsePrecompiledHeader': '1'})
1615
- p.AddFileConfig(source, _ConfigFullName(config_name, config),
1616
- {}, tools=[tool])
1617
- basename, extension = os.path.splitext(source)
1618
- if extension == '.c':
1619
- extensions_excluded_from_precompile = ['.cc', '.cpp', '.cxx']
1620
- else:
1621
- extensions_excluded_from_precompile = ['.c']
1622
- def DisableForSourceTree(source_tree):
1623
- for source in source_tree:
1624
- if isinstance(source, MSVSProject.Filter):
1625
- DisableForSourceTree(source.contents)
1626
- else:
1627
- basename, extension = os.path.splitext(source)
1628
- if extension in extensions_excluded_from_precompile:
1629
- for config_name, config in spec['configurations'].iteritems():
1630
- tool = MSVSProject.Tool('VCCLCompilerTool',
1631
- {'UsePrecompiledHeader': '0',
1632
- 'ForcedIncludeFiles': '$(NOINHERIT)'})
1633
- p.AddFileConfig(_FixPath(source),
1634
- _ConfigFullName(config_name, config),
1635
- {}, tools=[tool])
1636
- # Do nothing if there was no precompiled source.
1637
- if extensions_excluded_from_precompile:
1638
- DisableForSourceTree(sources)
1639
-
1640
-
1641
- def _AddActions(actions_to_add, spec, relative_path_of_gyp_file):
1642
- # Add actions.
1643
- actions = spec.get('actions', [])
1644
- # Don't setup_env every time. When all the actions are run together in one
1645
- # batch file in VS, the PATH will grow too long.
1646
- # Membership in this set means that the cygwin environment has been set up,
1647
- # and does not need to be set up again.
1648
- have_setup_env = set()
1649
- for a in actions:
1650
- # Attach actions to the gyp file if nothing else is there.
1651
- inputs = a.get('inputs') or [relative_path_of_gyp_file]
1652
- attached_to = inputs[0]
1653
- need_setup_env = attached_to not in have_setup_env
1654
- cmd = _BuildCommandLineForRule(spec, a, has_input_path=False,
1655
- do_setup_env=need_setup_env)
1656
- have_setup_env.add(attached_to)
1657
- # Add the action.
1658
- _AddActionStep(actions_to_add,
1659
- inputs=inputs,
1660
- outputs=a.get('outputs', []),
1661
- description=a.get('message', a['action_name']),
1662
- command=cmd)
1663
-
1664
-
1665
- def _WriteMSVSUserFile(project_path, version, spec):
1666
- # Add run_as and test targets.
1667
- if 'run_as' in spec:
1668
- run_as = spec['run_as']
1669
- action = run_as.get('action', [])
1670
- environment = run_as.get('environment', [])
1671
- working_directory = run_as.get('working_directory', '.')
1672
- elif int(spec.get('test', 0)):
1673
- action = ['$(TargetPath)', '--gtest_print_time']
1674
- environment = []
1675
- working_directory = '.'
1676
- else:
1677
- return # Nothing to add
1678
- # Write out the user file.
1679
- user_file = _CreateMSVSUserFile(project_path, version, spec)
1680
- for config_name, c_data in spec['configurations'].iteritems():
1681
- user_file.AddDebugSettings(_ConfigFullName(config_name, c_data),
1682
- action, environment, working_directory)
1683
- user_file.WriteIfChanged()
1684
-
1685
-
1686
- def _AddCopies(actions_to_add, spec):
1687
- copies = _GetCopies(spec)
1688
- for inputs, outputs, cmd, description in copies:
1689
- _AddActionStep(actions_to_add, inputs=inputs, outputs=outputs,
1690
- description=description, command=cmd)
1691
-
1692
-
1693
- def _GetCopies(spec):
1694
- copies = []
1695
- # Add copies.
1696
- for cpy in spec.get('copies', []):
1697
- for src in cpy.get('files', []):
1698
- dst = os.path.join(cpy['destination'], os.path.basename(src))
1699
- # _AddCustomBuildToolForMSVS() will call _FixPath() on the inputs and
1700
- # outputs, so do the same for our generated command line.
1701
- if src.endswith('/'):
1702
- src_bare = src[:-1]
1703
- base_dir = posixpath.split(src_bare)[0]
1704
- outer_dir = posixpath.split(src_bare)[1]
1705
- cmd = 'cd "%s" && xcopy /e /f /y "%s" "%s\\%s\\"' % (
1706
- _FixPath(base_dir), outer_dir, _FixPath(dst), outer_dir)
1707
- copies.append(([src], ['dummy_copies', dst], cmd,
1708
- 'Copying %s to %s' % (src, dst)))
1709
- else:
1710
- cmd = 'mkdir "%s" 2>nul & set ERRORLEVEL=0 & copy /Y "%s" "%s"' % (
1711
- _FixPath(cpy['destination']), _FixPath(src), _FixPath(dst))
1712
- copies.append(([src], [dst], cmd, 'Copying %s to %s' % (src, dst)))
1713
- return copies
1714
-
1715
-
1716
- def _GetPathDict(root, path):
1717
- # |path| will eventually be empty (in the recursive calls) if it was initially
1718
- # relative; otherwise it will eventually end up as '\', 'D:\', etc.
1719
- if not path or path.endswith(os.sep):
1720
- return root
1721
- parent, folder = os.path.split(path)
1722
- parent_dict = _GetPathDict(root, parent)
1723
- if folder not in parent_dict:
1724
- parent_dict[folder] = dict()
1725
- return parent_dict[folder]
1726
-
1727
-
1728
- def _DictsToFolders(base_path, bucket, flat):
1729
- # Convert to folders recursively.
1730
- children = []
1731
- for folder, contents in bucket.iteritems():
1732
- if type(contents) == dict:
1733
- folder_children = _DictsToFolders(os.path.join(base_path, folder),
1734
- contents, flat)
1735
- if flat:
1736
- children += folder_children
1737
- else:
1738
- folder_children = MSVSNew.MSVSFolder(os.path.join(base_path, folder),
1739
- name='(' + folder + ')',
1740
- entries=folder_children)
1741
- children.append(folder_children)
1742
- else:
1743
- children.append(contents)
1744
- return children
1745
-
1746
-
1747
- def _CollapseSingles(parent, node):
1748
- # Recursively explorer the tree of dicts looking for projects which are
1749
- # the sole item in a folder which has the same name as the project. Bring
1750
- # such projects up one level.
1751
- if (type(node) == dict and
1752
- len(node) == 1 and
1753
- node.keys()[0] == parent + '.vcproj'):
1754
- return node[node.keys()[0]]
1755
- if type(node) != dict:
1756
- return node
1757
- for child in node:
1758
- node[child] = _CollapseSingles(child, node[child])
1759
- return node
1760
-
1761
-
1762
- def _GatherSolutionFolders(sln_projects, project_objects, flat):
1763
- root = {}
1764
- # Convert into a tree of dicts on path.
1765
- for p in sln_projects:
1766
- gyp_file, target = gyp.common.ParseQualifiedTarget(p)[0:2]
1767
- gyp_dir = os.path.dirname(gyp_file)
1768
- path_dict = _GetPathDict(root, gyp_dir)
1769
- path_dict[target + '.vcproj'] = project_objects[p]
1770
- # Walk down from the top until we hit a folder that has more than one entry.
1771
- # In practice, this strips the top-level "src/" dir from the hierarchy in
1772
- # the solution.
1773
- while len(root) == 1 and type(root[root.keys()[0]]) == dict:
1774
- root = root[root.keys()[0]]
1775
- # Collapse singles.
1776
- root = _CollapseSingles('', root)
1777
- # Merge buckets until everything is a root entry.
1778
- return _DictsToFolders('', root, flat)
1779
-
1780
-
1781
- def _GetPathOfProject(qualified_target, spec, options, msvs_version):
1782
- default_config = _GetDefaultConfiguration(spec)
1783
- proj_filename = default_config.get('msvs_existing_vcproj')
1784
- if not proj_filename:
1785
- proj_filename = (spec['target_name'] + options.suffix +
1786
- msvs_version.ProjectExtension())
1787
-
1788
- build_file = gyp.common.BuildFile(qualified_target)
1789
- proj_path = os.path.join(os.path.dirname(build_file), proj_filename)
1790
- fix_prefix = None
1791
- if options.generator_output:
1792
- project_dir_path = os.path.dirname(os.path.abspath(proj_path))
1793
- proj_path = os.path.join(options.generator_output, proj_path)
1794
- fix_prefix = gyp.common.RelativePath(project_dir_path,
1795
- os.path.dirname(proj_path))
1796
- return proj_path, fix_prefix
1797
-
1798
-
1799
- def _GetPlatformOverridesOfProject(spec):
1800
- # Prepare a dict indicating which project configurations are used for which
1801
- # solution configurations for this target.
1802
- config_platform_overrides = {}
1803
- for config_name, c in spec['configurations'].iteritems():
1804
- config_fullname = _ConfigFullName(config_name, c)
1805
- platform = c.get('msvs_target_platform', _ConfigPlatform(c))
1806
- fixed_config_fullname = '%s|%s' % (
1807
- _ConfigBaseName(config_name, _ConfigPlatform(c)), platform)
1808
- config_platform_overrides[config_fullname] = fixed_config_fullname
1809
- return config_platform_overrides
1810
-
1811
-
1812
- def _CreateProjectObjects(target_list, target_dicts, options, msvs_version):
1813
- """Create a MSVSProject object for the targets found in target list.
1814
-
1815
- Arguments:
1816
- target_list: the list of targets to generate project objects for.
1817
- target_dicts: the dictionary of specifications.
1818
- options: global generator options.
1819
- msvs_version: the MSVSVersion object.
1820
- Returns:
1821
- A set of created projects, keyed by target.
1822
- """
1823
- global fixpath_prefix
1824
- # Generate each project.
1825
- projects = {}
1826
- for qualified_target in target_list:
1827
- spec = target_dicts[qualified_target]
1828
- if spec['toolset'] != 'target':
1829
- raise GypError(
1830
- 'Multiple toolsets not supported in msvs build (target %s)' %
1831
- qualified_target)
1832
- proj_path, fixpath_prefix = _GetPathOfProject(qualified_target, spec,
1833
- options, msvs_version)
1834
- guid = _GetGuidOfProject(proj_path, spec)
1835
- overrides = _GetPlatformOverridesOfProject(spec)
1836
- build_file = gyp.common.BuildFile(qualified_target)
1837
- # Create object for this project.
1838
- obj = MSVSNew.MSVSProject(
1839
- proj_path,
1840
- name=spec['target_name'],
1841
- guid=guid,
1842
- spec=spec,
1843
- build_file=build_file,
1844
- config_platform_overrides=overrides,
1845
- fixpath_prefix=fixpath_prefix)
1846
- # Set project toolset if any (MS build only)
1847
- if msvs_version.UsesVcxproj():
1848
- obj.set_msbuild_toolset(
1849
- _GetMsbuildToolsetOfProject(proj_path, spec, msvs_version))
1850
- projects[qualified_target] = obj
1851
- # Set all the dependencies, but not if we are using an external builder like
1852
- # ninja
1853
- for project in projects.values():
1854
- if not project.spec.get('msvs_external_builder'):
1855
- deps = project.spec.get('dependencies', [])
1856
- deps = [projects[d] for d in deps]
1857
- project.set_dependencies(deps)
1858
- return projects
1859
-
1860
-
1861
- def _InitNinjaFlavor(params, target_list, target_dicts):
1862
- """Initialize targets for the ninja flavor.
1863
-
1864
- This sets up the necessary variables in the targets to generate msvs projects
1865
- that use ninja as an external builder. The variables in the spec are only set
1866
- if they have not been set. This allows individual specs to override the
1867
- default values initialized here.
1868
- Arguments:
1869
- params: Params provided to the generator.
1870
- target_list: List of target pairs: 'base/base.gyp:base'.
1871
- target_dicts: Dict of target properties keyed on target pair.
1872
- """
1873
- for qualified_target in target_list:
1874
- spec = target_dicts[qualified_target]
1875
- if spec.get('msvs_external_builder'):
1876
- # The spec explicitly defined an external builder, so don't change it.
1877
- continue
1878
-
1879
- path_to_ninja = spec.get('msvs_path_to_ninja', 'ninja.exe')
1880
-
1881
- spec['msvs_external_builder'] = 'ninja'
1882
- if not spec.get('msvs_external_builder_out_dir'):
1883
- gyp_file, _, _ = gyp.common.ParseQualifiedTarget(qualified_target)
1884
- gyp_dir = os.path.dirname(gyp_file)
1885
- configuration = '$(Configuration)'
1886
- if params.get('target_arch') == 'x64':
1887
- configuration += '_x64'
1888
- spec['msvs_external_builder_out_dir'] = os.path.join(
1889
- gyp.common.RelativePath(params['options'].toplevel_dir, gyp_dir),
1890
- ninja_generator.ComputeOutputDir(params),
1891
- configuration)
1892
- if not spec.get('msvs_external_builder_build_cmd'):
1893
- spec['msvs_external_builder_build_cmd'] = [
1894
- path_to_ninja,
1895
- '-C',
1896
- '$(OutDir)',
1897
- '$(ProjectName)',
1898
- ]
1899
- if not spec.get('msvs_external_builder_clean_cmd'):
1900
- spec['msvs_external_builder_clean_cmd'] = [
1901
- path_to_ninja,
1902
- '-C',
1903
- '$(OutDir)',
1904
- '-tclean',
1905
- '$(ProjectName)',
1906
- ]
1907
-
1908
-
1909
- def CalculateVariables(default_variables, params):
1910
- """Generated variables that require params to be known."""
1911
-
1912
- generator_flags = params.get('generator_flags', {})
1913
-
1914
- # Select project file format version (if unset, default to auto detecting).
1915
- msvs_version = MSVSVersion.SelectVisualStudioVersion(
1916
- generator_flags.get('msvs_version', 'auto'))
1917
- # Stash msvs_version for later (so we don't have to probe the system twice).
1918
- params['msvs_version'] = msvs_version
1919
-
1920
- # Set a variable so conditions can be based on msvs_version.
1921
- default_variables['MSVS_VERSION'] = msvs_version.ShortName()
1922
-
1923
- # To determine processor word size on Windows, in addition to checking
1924
- # PROCESSOR_ARCHITECTURE (which reflects the word size of the current
1925
- # process), it is also necessary to check PROCESSOR_ARCITEW6432 (which
1926
- # contains the actual word size of the system when running thru WOW64).
1927
- if (os.environ.get('PROCESSOR_ARCHITECTURE', '').find('64') >= 0 or
1928
- os.environ.get('PROCESSOR_ARCHITEW6432', '').find('64') >= 0):
1929
- default_variables['MSVS_OS_BITS'] = 64
1930
- else:
1931
- default_variables['MSVS_OS_BITS'] = 32
1932
-
1933
- if gyp.common.GetFlavor(params) == 'ninja':
1934
- default_variables['SHARED_INTERMEDIATE_DIR'] = '$(OutDir)gen'
1935
-
1936
-
1937
- def PerformBuild(data, configurations, params):
1938
- options = params['options']
1939
- msvs_version = params['msvs_version']
1940
- devenv = os.path.join(msvs_version.path, 'Common7', 'IDE', 'devenv.com')
1941
-
1942
- for build_file, build_file_dict in data.iteritems():
1943
- (build_file_root, build_file_ext) = os.path.splitext(build_file)
1944
- if build_file_ext != '.gyp':
1945
- continue
1946
- sln_path = build_file_root + options.suffix + '.sln'
1947
- if options.generator_output:
1948
- sln_path = os.path.join(options.generator_output, sln_path)
1949
-
1950
- for config in configurations:
1951
- arguments = [devenv, sln_path, '/Build', config]
1952
- print 'Building [%s]: %s' % (config, arguments)
1953
- rtn = subprocess.check_call(arguments)
1954
-
1955
-
1956
- def GenerateOutput(target_list, target_dicts, data, params):
1957
- """Generate .sln and .vcproj files.
1958
-
1959
- This is the entry point for this generator.
1960
- Arguments:
1961
- target_list: List of target pairs: 'base/base.gyp:base'.
1962
- target_dicts: Dict of target properties keyed on target pair.
1963
- data: Dictionary containing per .gyp data.
1964
- """
1965
- global fixpath_prefix
1966
-
1967
- options = params['options']
1968
-
1969
- # Get the project file format version back out of where we stashed it in
1970
- # GeneratorCalculatedVariables.
1971
- msvs_version = params['msvs_version']
1972
-
1973
- generator_flags = params.get('generator_flags', {})
1974
-
1975
- # Optionally shard targets marked with 'msvs_shard': SHARD_COUNT.
1976
- (target_list, target_dicts) = MSVSUtil.ShardTargets(target_list, target_dicts)
1977
-
1978
- # Optionally use the large PDB workaround for targets marked with
1979
- # 'msvs_large_pdb': 1.
1980
- (target_list, target_dicts) = MSVSUtil.InsertLargePdbShims(
1981
- target_list, target_dicts, generator_default_variables)
1982
-
1983
- # Optionally configure each spec to use ninja as the external builder.
1984
- if params.get('flavor') == 'ninja':
1985
- _InitNinjaFlavor(params, target_list, target_dicts)
1986
-
1987
- # Prepare the set of configurations.
1988
- configs = set()
1989
- for qualified_target in target_list:
1990
- spec = target_dicts[qualified_target]
1991
- for config_name, config in spec['configurations'].iteritems():
1992
- configs.add(_ConfigFullName(config_name, config))
1993
- configs = list(configs)
1994
-
1995
- # Figure out all the projects that will be generated and their guids
1996
- project_objects = _CreateProjectObjects(target_list, target_dicts, options,
1997
- msvs_version)
1998
-
1999
- # Generate each project.
2000
- missing_sources = []
2001
- for project in project_objects.values():
2002
- fixpath_prefix = project.fixpath_prefix
2003
- missing_sources.extend(_GenerateProject(project, options, msvs_version,
2004
- generator_flags))
2005
- fixpath_prefix = None
2006
-
2007
- for build_file in data:
2008
- # Validate build_file extension
2009
- if not build_file.endswith('.gyp'):
2010
- continue
2011
- sln_path = os.path.splitext(build_file)[0] + options.suffix + '.sln'
2012
- if options.generator_output:
2013
- sln_path = os.path.join(options.generator_output, sln_path)
2014
- # Get projects in the solution, and their dependents.
2015
- sln_projects = gyp.common.BuildFileTargets(target_list, build_file)
2016
- sln_projects += gyp.common.DeepDependencyTargets(target_dicts, sln_projects)
2017
- # Create folder hierarchy.
2018
- root_entries = _GatherSolutionFolders(
2019
- sln_projects, project_objects, flat=msvs_version.FlatSolution())
2020
- # Create solution.
2021
- sln = MSVSNew.MSVSSolution(sln_path,
2022
- entries=root_entries,
2023
- variants=configs,
2024
- websiteProperties=False,
2025
- version=msvs_version)
2026
- sln.Write()
2027
-
2028
- if missing_sources:
2029
- error_message = "Missing input files:\n" + \
2030
- '\n'.join(set(missing_sources))
2031
- if generator_flags.get('msvs_error_on_missing_sources', False):
2032
- raise GypError(error_message)
2033
- else:
2034
- print >> sys.stdout, "Warning: " + error_message
2035
-
2036
-
2037
- def _GenerateMSBuildFiltersFile(filters_path, source_files,
2038
- rule_dependencies, extension_to_rule_name):
2039
- """Generate the filters file.
2040
-
2041
- This file is used by Visual Studio to organize the presentation of source
2042
- files into folders.
2043
-
2044
- Arguments:
2045
- filters_path: The path of the file to be created.
2046
- source_files: The hierarchical structure of all the sources.
2047
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2048
- """
2049
- filter_group = []
2050
- source_group = []
2051
- _AppendFiltersForMSBuild('', source_files, rule_dependencies,
2052
- extension_to_rule_name, filter_group, source_group)
2053
- if filter_group:
2054
- content = ['Project',
2055
- {'ToolsVersion': '4.0',
2056
- 'xmlns': 'http://schemas.microsoft.com/developer/msbuild/2003'
2057
- },
2058
- ['ItemGroup'] + filter_group,
2059
- ['ItemGroup'] + source_group
2060
- ]
2061
- easy_xml.WriteXmlIfChanged(content, filters_path, pretty=True, win32=True)
2062
- elif os.path.exists(filters_path):
2063
- # We don't need this filter anymore. Delete the old filter file.
2064
- os.unlink(filters_path)
2065
-
2066
-
2067
- def _AppendFiltersForMSBuild(parent_filter_name, sources, rule_dependencies,
2068
- extension_to_rule_name,
2069
- filter_group, source_group):
2070
- """Creates the list of filters and sources to be added in the filter file.
2071
-
2072
- Args:
2073
- parent_filter_name: The name of the filter under which the sources are
2074
- found.
2075
- sources: The hierarchy of filters and sources to process.
2076
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2077
- filter_group: The list to which filter entries will be appended.
2078
- source_group: The list to which source entries will be appeneded.
2079
- """
2080
- for source in sources:
2081
- if isinstance(source, MSVSProject.Filter):
2082
- # We have a sub-filter. Create the name of that sub-filter.
2083
- if not parent_filter_name:
2084
- filter_name = source.name
2085
- else:
2086
- filter_name = '%s\\%s' % (parent_filter_name, source.name)
2087
- # Add the filter to the group.
2088
- filter_group.append(
2089
- ['Filter', {'Include': filter_name},
2090
- ['UniqueIdentifier', MSVSNew.MakeGuid(source.name)]])
2091
- # Recurse and add its dependents.
2092
- _AppendFiltersForMSBuild(filter_name, source.contents,
2093
- rule_dependencies, extension_to_rule_name,
2094
- filter_group, source_group)
2095
- else:
2096
- # It's a source. Create a source entry.
2097
- _, element = _MapFileToMsBuildSourceType(source, rule_dependencies,
2098
- extension_to_rule_name)
2099
- source_entry = [element, {'Include': source}]
2100
- # Specify the filter it is part of, if any.
2101
- if parent_filter_name:
2102
- source_entry.append(['Filter', parent_filter_name])
2103
- source_group.append(source_entry)
2104
-
2105
-
2106
- def _MapFileToMsBuildSourceType(source, rule_dependencies,
2107
- extension_to_rule_name):
2108
- """Returns the group and element type of the source file.
2109
-
2110
- Arguments:
2111
- source: The source file name.
2112
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2113
-
2114
- Returns:
2115
- A pair of (group this file should be part of, the label of element)
2116
- """
2117
- _, ext = os.path.splitext(source)
2118
- if ext in extension_to_rule_name:
2119
- group = 'rule'
2120
- element = extension_to_rule_name[ext]
2121
- elif ext in ['.cc', '.cpp', '.c', '.cxx']:
2122
- group = 'compile'
2123
- element = 'ClCompile'
2124
- elif ext in ['.h', '.hxx']:
2125
- group = 'include'
2126
- element = 'ClInclude'
2127
- elif ext == '.rc':
2128
- group = 'resource'
2129
- element = 'ResourceCompile'
2130
- elif ext == '.asm':
2131
- group = 'masm'
2132
- element = 'MASM'
2133
- elif ext == '.idl':
2134
- group = 'midl'
2135
- element = 'Midl'
2136
- elif source in rule_dependencies:
2137
- group = 'rule_dependency'
2138
- element = 'CustomBuild'
2139
- else:
2140
- group = 'none'
2141
- element = 'None'
2142
- return (group, element)
2143
-
2144
-
2145
- def _GenerateRulesForMSBuild(output_dir, options, spec,
2146
- sources, excluded_sources,
2147
- props_files_of_rules, targets_files_of_rules,
2148
- actions_to_add, rule_dependencies,
2149
- extension_to_rule_name):
2150
- # MSBuild rules are implemented using three files: an XML file, a .targets
2151
- # file and a .props file.
2152
- # See http://blogs.msdn.com/b/vcblog/archive/2010/04/21/quick-help-on-vs2010-custom-build-rule.aspx
2153
- # for more details.
2154
- rules = spec.get('rules', [])
2155
- rules_native = [r for r in rules if not int(r.get('msvs_external_rule', 0))]
2156
- rules_external = [r for r in rules if int(r.get('msvs_external_rule', 0))]
2157
-
2158
- msbuild_rules = []
2159
- for rule in rules_native:
2160
- # Skip a rule with no action and no inputs.
2161
- if 'action' not in rule and not rule.get('rule_sources', []):
2162
- continue
2163
- msbuild_rule = MSBuildRule(rule, spec)
2164
- msbuild_rules.append(msbuild_rule)
2165
- rule_dependencies.update(msbuild_rule.additional_dependencies.split(';'))
2166
- extension_to_rule_name[msbuild_rule.extension] = msbuild_rule.rule_name
2167
- if msbuild_rules:
2168
- base = spec['target_name'] + options.suffix
2169
- props_name = base + '.props'
2170
- targets_name = base + '.targets'
2171
- xml_name = base + '.xml'
2172
-
2173
- props_files_of_rules.add(props_name)
2174
- targets_files_of_rules.add(targets_name)
2175
-
2176
- props_path = os.path.join(output_dir, props_name)
2177
- targets_path = os.path.join(output_dir, targets_name)
2178
- xml_path = os.path.join(output_dir, xml_name)
2179
-
2180
- _GenerateMSBuildRulePropsFile(props_path, msbuild_rules)
2181
- _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules)
2182
- _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules)
2183
-
2184
- if rules_external:
2185
- _GenerateExternalRules(rules_external, output_dir, spec,
2186
- sources, options, actions_to_add)
2187
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
2188
-
2189
-
2190
- class MSBuildRule(object):
2191
- """Used to store information used to generate an MSBuild rule.
2192
-
2193
- Attributes:
2194
- rule_name: The rule name, sanitized to use in XML.
2195
- target_name: The name of the target.
2196
- after_targets: The name of the AfterTargets element.
2197
- before_targets: The name of the BeforeTargets element.
2198
- depends_on: The name of the DependsOn element.
2199
- compute_output: The name of the ComputeOutput element.
2200
- dirs_to_make: The name of the DirsToMake element.
2201
- inputs: The name of the _inputs element.
2202
- tlog: The name of the _tlog element.
2203
- extension: The extension this rule applies to.
2204
- description: The message displayed when this rule is invoked.
2205
- additional_dependencies: A string listing additional dependencies.
2206
- outputs: The outputs of this rule.
2207
- command: The command used to run the rule.
2208
- """
2209
-
2210
- def __init__(self, rule, spec):
2211
- self.display_name = rule['rule_name']
2212
- # Assure that the rule name is only characters and numbers
2213
- self.rule_name = re.sub(r'\W', '_', self.display_name)
2214
- # Create the various element names, following the example set by the
2215
- # Visual Studio 2008 to 2010 conversion. I don't know if VS2010
2216
- # is sensitive to the exact names.
2217
- self.target_name = '_' + self.rule_name
2218
- self.after_targets = self.rule_name + 'AfterTargets'
2219
- self.before_targets = self.rule_name + 'BeforeTargets'
2220
- self.depends_on = self.rule_name + 'DependsOn'
2221
- self.compute_output = 'Compute%sOutput' % self.rule_name
2222
- self.dirs_to_make = self.rule_name + 'DirsToMake'
2223
- self.inputs = self.rule_name + '_inputs'
2224
- self.tlog = self.rule_name + '_tlog'
2225
- self.extension = rule['extension']
2226
- if not self.extension.startswith('.'):
2227
- self.extension = '.' + self.extension
2228
-
2229
- self.description = MSVSSettings.ConvertVCMacrosToMSBuild(
2230
- rule.get('message', self.rule_name))
2231
- old_additional_dependencies = _FixPaths(rule.get('inputs', []))
2232
- self.additional_dependencies = (
2233
- ';'.join([MSVSSettings.ConvertVCMacrosToMSBuild(i)
2234
- for i in old_additional_dependencies]))
2235
- old_outputs = _FixPaths(rule.get('outputs', []))
2236
- self.outputs = ';'.join([MSVSSettings.ConvertVCMacrosToMSBuild(i)
2237
- for i in old_outputs])
2238
- old_command = _BuildCommandLineForRule(spec, rule, has_input_path=True,
2239
- do_setup_env=True)
2240
- self.command = MSVSSettings.ConvertVCMacrosToMSBuild(old_command)
2241
-
2242
-
2243
- def _GenerateMSBuildRulePropsFile(props_path, msbuild_rules):
2244
- """Generate the .props file."""
2245
- content = ['Project',
2246
- {'xmlns': 'http://schemas.microsoft.com/developer/msbuild/2003'}]
2247
- for rule in msbuild_rules:
2248
- content.extend([
2249
- ['PropertyGroup',
2250
- {'Condition': "'$(%s)' == '' and '$(%s)' == '' and "
2251
- "'$(ConfigurationType)' != 'Makefile'" % (rule.before_targets,
2252
- rule.after_targets)
2253
- },
2254
- [rule.before_targets, 'Midl'],
2255
- [rule.after_targets, 'CustomBuild'],
2256
- ],
2257
- ['PropertyGroup',
2258
- [rule.depends_on,
2259
- {'Condition': "'$(ConfigurationType)' != 'Makefile'"},
2260
- '_SelectedFiles;$(%s)' % rule.depends_on
2261
- ],
2262
- ],
2263
- ['ItemDefinitionGroup',
2264
- [rule.rule_name,
2265
- ['CommandLineTemplate', rule.command],
2266
- ['Outputs', rule.outputs],
2267
- ['ExecutionDescription', rule.description],
2268
- ['AdditionalDependencies', rule.additional_dependencies],
2269
- ],
2270
- ]
2271
- ])
2272
- easy_xml.WriteXmlIfChanged(content, props_path, pretty=True, win32=True)
2273
-
2274
-
2275
- def _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules):
2276
- """Generate the .targets file."""
2277
- content = ['Project',
2278
- {'xmlns': 'http://schemas.microsoft.com/developer/msbuild/2003'
2279
- }
2280
- ]
2281
- item_group = [
2282
- 'ItemGroup',
2283
- ['PropertyPageSchema',
2284
- {'Include': '$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml'}
2285
- ]
2286
- ]
2287
- for rule in msbuild_rules:
2288
- item_group.append(
2289
- ['AvailableItemName',
2290
- {'Include': rule.rule_name},
2291
- ['Targets', rule.target_name],
2292
- ])
2293
- content.append(item_group)
2294
-
2295
- for rule in msbuild_rules:
2296
- content.append(
2297
- ['UsingTask',
2298
- {'TaskName': rule.rule_name,
2299
- 'TaskFactory': 'XamlTaskFactory',
2300
- 'AssemblyName': 'Microsoft.Build.Tasks.v4.0'
2301
- },
2302
- ['Task', '$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml'],
2303
- ])
2304
- for rule in msbuild_rules:
2305
- rule_name = rule.rule_name
2306
- target_outputs = '%%(%s.Outputs)' % rule_name
2307
- target_inputs = ('%%(%s.Identity);%%(%s.AdditionalDependencies);'
2308
- '$(MSBuildProjectFile)') % (rule_name, rule_name)
2309
- rule_inputs = '%%(%s.Identity)' % rule_name
2310
- extension_condition = ("'%(Extension)'=='.obj' or "
2311
- "'%(Extension)'=='.res' or "
2312
- "'%(Extension)'=='.rsc' or "
2313
- "'%(Extension)'=='.lib'")
2314
- remove_section = [
2315
- 'ItemGroup',
2316
- {'Condition': "'@(SelectedFiles)' != ''"},
2317
- [rule_name,
2318
- {'Remove': '@(%s)' % rule_name,
2319
- 'Condition': "'%(Identity)' != '@(SelectedFiles)'"
2320
- }
2321
- ]
2322
- ]
2323
- inputs_section = [
2324
- 'ItemGroup',
2325
- [rule.inputs, {'Include': '%%(%s.AdditionalDependencies)' % rule_name}]
2326
- ]
2327
- logging_section = [
2328
- 'ItemGroup',
2329
- [rule.tlog,
2330
- {'Include': '%%(%s.Outputs)' % rule_name,
2331
- 'Condition': ("'%%(%s.Outputs)' != '' and "
2332
- "'%%(%s.ExcludedFromBuild)' != 'true'" %
2333
- (rule_name, rule_name))
2334
- },
2335
- ['Source', "@(%s, '|')" % rule_name],
2336
- ['Inputs', "@(%s -> '%%(Fullpath)', ';')" % rule.inputs],
2337
- ],
2338
- ]
2339
- message_section = [
2340
- 'Message',
2341
- {'Importance': 'High',
2342
- 'Text': '%%(%s.ExecutionDescription)' % rule_name
2343
- }
2344
- ]
2345
- write_tlog_section = [
2346
- 'WriteLinesToFile',
2347
- {'Condition': "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2348
- "'true'" % (rule.tlog, rule.tlog),
2349
- 'File': '$(IntDir)$(ProjectName).write.1.tlog',
2350
- 'Lines': "^%%(%s.Source);@(%s->'%%(Fullpath)')" % (rule.tlog,
2351
- rule.tlog)
2352
- }
2353
- ]
2354
- read_tlog_section = [
2355
- 'WriteLinesToFile',
2356
- {'Condition': "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2357
- "'true'" % (rule.tlog, rule.tlog),
2358
- 'File': '$(IntDir)$(ProjectName).read.1.tlog',
2359
- 'Lines': "^%%(%s.Source);%%(%s.Inputs)" % (rule.tlog, rule.tlog)
2360
- }
2361
- ]
2362
- command_and_input_section = [
2363
- rule_name,
2364
- {'Condition': "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2365
- "'true'" % (rule_name, rule_name),
2366
- 'EchoOff': 'true',
2367
- 'StandardOutputImportance': 'High',
2368
- 'StandardErrorImportance': 'High',
2369
- 'CommandLineTemplate': '%%(%s.CommandLineTemplate)' % rule_name,
2370
- 'AdditionalOptions': '%%(%s.AdditionalOptions)' % rule_name,
2371
- 'Inputs': rule_inputs
2372
- }
2373
- ]
2374
- content.extend([
2375
- ['Target',
2376
- {'Name': rule.target_name,
2377
- 'BeforeTargets': '$(%s)' % rule.before_targets,
2378
- 'AfterTargets': '$(%s)' % rule.after_targets,
2379
- 'Condition': "'@(%s)' != ''" % rule_name,
2380
- 'DependsOnTargets': '$(%s);%s' % (rule.depends_on,
2381
- rule.compute_output),
2382
- 'Outputs': target_outputs,
2383
- 'Inputs': target_inputs
2384
- },
2385
- remove_section,
2386
- inputs_section,
2387
- logging_section,
2388
- message_section,
2389
- write_tlog_section,
2390
- read_tlog_section,
2391
- command_and_input_section,
2392
- ],
2393
- ['PropertyGroup',
2394
- ['ComputeLinkInputsTargets',
2395
- '$(ComputeLinkInputsTargets);',
2396
- '%s;' % rule.compute_output
2397
- ],
2398
- ['ComputeLibInputsTargets',
2399
- '$(ComputeLibInputsTargets);',
2400
- '%s;' % rule.compute_output
2401
- ],
2402
- ],
2403
- ['Target',
2404
- {'Name': rule.compute_output,
2405
- 'Condition': "'@(%s)' != ''" % rule_name
2406
- },
2407
- ['ItemGroup',
2408
- [rule.dirs_to_make,
2409
- {'Condition': "'@(%s)' != '' and "
2410
- "'%%(%s.ExcludedFromBuild)' != 'true'" % (rule_name, rule_name),
2411
- 'Include': '%%(%s.Outputs)' % rule_name
2412
- }
2413
- ],
2414
- ['Link',
2415
- {'Include': '%%(%s.Identity)' % rule.dirs_to_make,
2416
- 'Condition': extension_condition
2417
- }
2418
- ],
2419
- ['Lib',
2420
- {'Include': '%%(%s.Identity)' % rule.dirs_to_make,
2421
- 'Condition': extension_condition
2422
- }
2423
- ],
2424
- ['ImpLib',
2425
- {'Include': '%%(%s.Identity)' % rule.dirs_to_make,
2426
- 'Condition': extension_condition
2427
- }
2428
- ],
2429
- ],
2430
- ['MakeDir',
2431
- {'Directories': ("@(%s->'%%(RootDir)%%(Directory)')" %
2432
- rule.dirs_to_make)
2433
- }
2434
- ]
2435
- ],
2436
- ])
2437
- easy_xml.WriteXmlIfChanged(content, targets_path, pretty=True, win32=True)
2438
-
2439
-
2440
- def _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules):
2441
- # Generate the .xml file
2442
- content = [
2443
- 'ProjectSchemaDefinitions',
2444
- {'xmlns': ('clr-namespace:Microsoft.Build.Framework.XamlTypes;'
2445
- 'assembly=Microsoft.Build.Framework'),
2446
- 'xmlns:x': 'http://schemas.microsoft.com/winfx/2006/xaml',
2447
- 'xmlns:sys': 'clr-namespace:System;assembly=mscorlib',
2448
- 'xmlns:transformCallback':
2449
- 'Microsoft.Cpp.Dev10.ConvertPropertyCallback'
2450
- }
2451
- ]
2452
- for rule in msbuild_rules:
2453
- content.extend([
2454
- ['Rule',
2455
- {'Name': rule.rule_name,
2456
- 'PageTemplate': 'tool',
2457
- 'DisplayName': rule.display_name,
2458
- 'Order': '200'
2459
- },
2460
- ['Rule.DataSource',
2461
- ['DataSource',
2462
- {'Persistence': 'ProjectFile',
2463
- 'ItemType': rule.rule_name
2464
- }
2465
- ]
2466
- ],
2467
- ['Rule.Categories',
2468
- ['Category',
2469
- {'Name': 'General'},
2470
- ['Category.DisplayName',
2471
- ['sys:String', 'General'],
2472
- ],
2473
- ],
2474
- ['Category',
2475
- {'Name': 'Command Line',
2476
- 'Subtype': 'CommandLine'
2477
- },
2478
- ['Category.DisplayName',
2479
- ['sys:String', 'Command Line'],
2480
- ],
2481
- ],
2482
- ],
2483
- ['StringListProperty',
2484
- {'Name': 'Inputs',
2485
- 'Category': 'Command Line',
2486
- 'IsRequired': 'true',
2487
- 'Switch': ' '
2488
- },
2489
- ['StringListProperty.DataSource',
2490
- ['DataSource',
2491
- {'Persistence': 'ProjectFile',
2492
- 'ItemType': rule.rule_name,
2493
- 'SourceType': 'Item'
2494
- }
2495
- ]
2496
- ],
2497
- ],
2498
- ['StringProperty',
2499
- {'Name': 'CommandLineTemplate',
2500
- 'DisplayName': 'Command Line',
2501
- 'Visible': 'False',
2502
- 'IncludeInCommandLine': 'False'
2503
- }
2504
- ],
2505
- ['DynamicEnumProperty',
2506
- {'Name': rule.before_targets,
2507
- 'Category': 'General',
2508
- 'EnumProvider': 'Targets',
2509
- 'IncludeInCommandLine': 'False'
2510
- },
2511
- ['DynamicEnumProperty.DisplayName',
2512
- ['sys:String', 'Execute Before'],
2513
- ],
2514
- ['DynamicEnumProperty.Description',
2515
- ['sys:String', 'Specifies the targets for the build customization'
2516
- ' to run before.'
2517
- ],
2518
- ],
2519
- ['DynamicEnumProperty.ProviderSettings',
2520
- ['NameValuePair',
2521
- {'Name': 'Exclude',
2522
- 'Value': '^%s|^Compute' % rule.before_targets
2523
- }
2524
- ]
2525
- ],
2526
- ['DynamicEnumProperty.DataSource',
2527
- ['DataSource',
2528
- {'Persistence': 'ProjectFile',
2529
- 'HasConfigurationCondition': 'true'
2530
- }
2531
- ]
2532
- ],
2533
- ],
2534
- ['DynamicEnumProperty',
2535
- {'Name': rule.after_targets,
2536
- 'Category': 'General',
2537
- 'EnumProvider': 'Targets',
2538
- 'IncludeInCommandLine': 'False'
2539
- },
2540
- ['DynamicEnumProperty.DisplayName',
2541
- ['sys:String', 'Execute After'],
2542
- ],
2543
- ['DynamicEnumProperty.Description',
2544
- ['sys:String', ('Specifies the targets for the build customization'
2545
- ' to run after.')
2546
- ],
2547
- ],
2548
- ['DynamicEnumProperty.ProviderSettings',
2549
- ['NameValuePair',
2550
- {'Name': 'Exclude',
2551
- 'Value': '^%s|^Compute' % rule.after_targets
2552
- }
2553
- ]
2554
- ],
2555
- ['DynamicEnumProperty.DataSource',
2556
- ['DataSource',
2557
- {'Persistence': 'ProjectFile',
2558
- 'ItemType': '',
2559
- 'HasConfigurationCondition': 'true'
2560
- }
2561
- ]
2562
- ],
2563
- ],
2564
- ['StringListProperty',
2565
- {'Name': 'Outputs',
2566
- 'DisplayName': 'Outputs',
2567
- 'Visible': 'False',
2568
- 'IncludeInCommandLine': 'False'
2569
- }
2570
- ],
2571
- ['StringProperty',
2572
- {'Name': 'ExecutionDescription',
2573
- 'DisplayName': 'Execution Description',
2574
- 'Visible': 'False',
2575
- 'IncludeInCommandLine': 'False'
2576
- }
2577
- ],
2578
- ['StringListProperty',
2579
- {'Name': 'AdditionalDependencies',
2580
- 'DisplayName': 'Additional Dependencies',
2581
- 'IncludeInCommandLine': 'False',
2582
- 'Visible': 'false'
2583
- }
2584
- ],
2585
- ['StringProperty',
2586
- {'Subtype': 'AdditionalOptions',
2587
- 'Name': 'AdditionalOptions',
2588
- 'Category': 'Command Line'
2589
- },
2590
- ['StringProperty.DisplayName',
2591
- ['sys:String', 'Additional Options'],
2592
- ],
2593
- ['StringProperty.Description',
2594
- ['sys:String', 'Additional Options'],
2595
- ],
2596
- ],
2597
- ],
2598
- ['ItemType',
2599
- {'Name': rule.rule_name,
2600
- 'DisplayName': rule.display_name
2601
- }
2602
- ],
2603
- ['FileExtension',
2604
- {'Name': '*' + rule.extension,
2605
- 'ContentType': rule.rule_name
2606
- }
2607
- ],
2608
- ['ContentType',
2609
- {'Name': rule.rule_name,
2610
- 'DisplayName': '',
2611
- 'ItemType': rule.rule_name
2612
- }
2613
- ]
2614
- ])
2615
- easy_xml.WriteXmlIfChanged(content, xml_path, pretty=True, win32=True)
2616
-
2617
-
2618
- def _GetConfigurationAndPlatform(name, settings):
2619
- configuration = name.rsplit('_', 1)[0]
2620
- platform = settings.get('msvs_configuration_platform', 'Win32')
2621
- return (configuration, platform)
2622
-
2623
-
2624
- def _GetConfigurationCondition(name, settings):
2625
- return (r"'$(Configuration)|$(Platform)'=='%s|%s'" %
2626
- _GetConfigurationAndPlatform(name, settings))
2627
-
2628
-
2629
- def _GetMSBuildProjectConfigurations(configurations):
2630
- group = ['ItemGroup', {'Label': 'ProjectConfigurations'}]
2631
- for (name, settings) in sorted(configurations.iteritems()):
2632
- configuration, platform = _GetConfigurationAndPlatform(name, settings)
2633
- designation = '%s|%s' % (configuration, platform)
2634
- group.append(
2635
- ['ProjectConfiguration', {'Include': designation},
2636
- ['Configuration', configuration],
2637
- ['Platform', platform]])
2638
- return [group]
2639
-
2640
-
2641
- def _GetMSBuildGlobalProperties(spec, guid, gyp_file_name):
2642
- namespace = os.path.splitext(gyp_file_name)[0]
2643
- properties = [
2644
- ['PropertyGroup', {'Label': 'Globals'},
2645
- ['ProjectGuid', guid],
2646
- ['Keyword', 'Win32Proj'],
2647
- ['RootNamespace', namespace],
2648
- ['IgnoreWarnCompileDuplicatedFilename', 'true'],
2649
- ]
2650
- ]
2651
-
2652
- if os.environ.get('PROCESSOR_ARCHITECTURE') == 'AMD64' or \
2653
- os.environ.get('PROCESSOR_ARCHITEW6432') == 'AMD64':
2654
- properties[0].append(['PreferredToolArchitecture', 'x64'])
2655
-
2656
- if spec.get('msvs_enable_winrt'):
2657
- properties[0].append(['DefaultLanguage', 'en-US'])
2658
- properties[0].append(['AppContainerApplication', 'true'])
2659
- if spec.get('msvs_application_type_revision'):
2660
- app_type_revision = spec.get('msvs_application_type_revision')
2661
- properties[0].append(['ApplicationTypeRevision', app_type_revision])
2662
- else:
2663
- properties[0].append(['ApplicationTypeRevision', '8.1'])
2664
-
2665
- if spec.get('msvs_target_platform_version'):
2666
- target_platform_version = spec.get('msvs_target_platform_version')
2667
- properties[0].append(['WindowsTargetPlatformVersion',
2668
- target_platform_version])
2669
- if spec.get('msvs_target_platform_minversion'):
2670
- target_platform_minversion = spec.get('msvs_target_platform_minversion')
2671
- properties[0].append(['WindowsTargetPlatformMinVersion',
2672
- target_platform_minversion])
2673
- else:
2674
- properties[0].append(['WindowsTargetPlatformMinVersion',
2675
- target_platform_version])
2676
- if spec.get('msvs_enable_winphone'):
2677
- properties[0].append(['ApplicationType', 'Windows Phone'])
2678
- else:
2679
- properties[0].append(['ApplicationType', 'Windows Store'])
2680
-
2681
- platform_name = None
2682
- msvs_windows_target_platform_version = None
2683
- for configuration in spec['configurations'].itervalues():
2684
- platform_name = platform_name or _ConfigPlatform(configuration)
2685
- msvs_windows_target_platform_version = \
2686
- msvs_windows_target_platform_version or \
2687
- _ConfigWindowsTargetPlatformVersion(configuration)
2688
- if platform_name and msvs_windows_target_platform_version:
2689
- break
2690
-
2691
- if platform_name == 'ARM':
2692
- properties[0].append(['WindowsSDKDesktopARMSupport', 'true'])
2693
- if msvs_windows_target_platform_version:
2694
- properties[0].append(['WindowsTargetPlatformVersion', \
2695
- str(msvs_windows_target_platform_version)])
2696
-
2697
- return properties
2698
-
2699
- def _GetMSBuildConfigurationDetails(spec, build_file):
2700
- properties = {}
2701
- for name, settings in spec['configurations'].iteritems():
2702
- msbuild_attributes = _GetMSBuildAttributes(spec, settings, build_file)
2703
- condition = _GetConfigurationCondition(name, settings)
2704
- character_set = msbuild_attributes.get('CharacterSet')
2705
- _AddConditionalProperty(properties, condition, 'ConfigurationType',
2706
- msbuild_attributes['ConfigurationType'])
2707
- if character_set:
2708
- if 'msvs_enable_winrt' not in spec :
2709
- _AddConditionalProperty(properties, condition, 'CharacterSet',
2710
- character_set)
2711
- return _GetMSBuildPropertyGroup(spec, 'Configuration', properties)
2712
-
2713
-
2714
- def _GetMSBuildLocalProperties(msbuild_toolset):
2715
- # Currently the only local property we support is PlatformToolset
2716
- properties = {}
2717
- if msbuild_toolset:
2718
- properties = [
2719
- ['PropertyGroup', {'Label': 'Locals'},
2720
- ['PlatformToolset', msbuild_toolset],
2721
- ]
2722
- ]
2723
- return properties
2724
-
2725
-
2726
- def _GetMSBuildPropertySheets(configurations):
2727
- user_props = r'$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props'
2728
- additional_props = {}
2729
- props_specified = False
2730
- for name, settings in sorted(configurations.iteritems()):
2731
- configuration = _GetConfigurationCondition(name, settings)
2732
- if settings.has_key('msbuild_props'):
2733
- additional_props[configuration] = _FixPaths(settings['msbuild_props'])
2734
- props_specified = True
2735
- else:
2736
- additional_props[configuration] = ''
2737
-
2738
- if not props_specified:
2739
- return [
2740
- ['ImportGroup',
2741
- {'Label': 'PropertySheets'},
2742
- ['Import',
2743
- {'Project': user_props,
2744
- 'Condition': "exists('%s')" % user_props,
2745
- 'Label': 'LocalAppDataPlatform'
2746
- }
2747
- ]
2748
- ]
2749
- ]
2750
- else:
2751
- sheets = []
2752
- for condition, props in additional_props.iteritems():
2753
- import_group = [
2754
- 'ImportGroup',
2755
- {'Label': 'PropertySheets',
2756
- 'Condition': condition
2757
- },
2758
- ['Import',
2759
- {'Project': user_props,
2760
- 'Condition': "exists('%s')" % user_props,
2761
- 'Label': 'LocalAppDataPlatform'
2762
- }
2763
- ]
2764
- ]
2765
- for props_file in props:
2766
- import_group.append(['Import', {'Project':props_file}])
2767
- sheets.append(import_group)
2768
- return sheets
2769
-
2770
- def _ConvertMSVSBuildAttributes(spec, config, build_file):
2771
- config_type = _GetMSVSConfigurationType(spec, build_file)
2772
- msvs_attributes = _GetMSVSAttributes(spec, config, config_type)
2773
- msbuild_attributes = {}
2774
- for a in msvs_attributes:
2775
- if a in ['IntermediateDirectory', 'OutputDirectory']:
2776
- directory = MSVSSettings.ConvertVCMacrosToMSBuild(msvs_attributes[a])
2777
- if not directory.endswith('\\'):
2778
- directory += '\\'
2779
- msbuild_attributes[a] = directory
2780
- elif a == 'CharacterSet':
2781
- msbuild_attributes[a] = _ConvertMSVSCharacterSet(msvs_attributes[a])
2782
- elif a == 'ConfigurationType':
2783
- msbuild_attributes[a] = _ConvertMSVSConfigurationType(msvs_attributes[a])
2784
- else:
2785
- print 'Warning: Do not know how to convert MSVS attribute ' + a
2786
- return msbuild_attributes
2787
-
2788
-
2789
- def _ConvertMSVSCharacterSet(char_set):
2790
- if char_set.isdigit():
2791
- char_set = {
2792
- '0': 'MultiByte',
2793
- '1': 'Unicode',
2794
- '2': 'MultiByte',
2795
- }[char_set]
2796
- return char_set
2797
-
2798
-
2799
- def _ConvertMSVSConfigurationType(config_type):
2800
- if config_type.isdigit():
2801
- config_type = {
2802
- '1': 'Application',
2803
- '2': 'DynamicLibrary',
2804
- '4': 'StaticLibrary',
2805
- '10': 'Utility'
2806
- }[config_type]
2807
- return config_type
2808
-
2809
-
2810
- def _GetMSBuildAttributes(spec, config, build_file):
2811
- if 'msbuild_configuration_attributes' not in config:
2812
- msbuild_attributes = _ConvertMSVSBuildAttributes(spec, config, build_file)
2813
-
2814
- else:
2815
- config_type = _GetMSVSConfigurationType(spec, build_file)
2816
- config_type = _ConvertMSVSConfigurationType(config_type)
2817
- msbuild_attributes = config.get('msbuild_configuration_attributes', {})
2818
- msbuild_attributes.setdefault('ConfigurationType', config_type)
2819
- output_dir = msbuild_attributes.get('OutputDirectory',
2820
- '$(SolutionDir)$(Configuration)')
2821
- msbuild_attributes['OutputDirectory'] = _FixPath(output_dir) + '\\'
2822
- if 'IntermediateDirectory' not in msbuild_attributes:
2823
- intermediate = _FixPath('$(Configuration)') + '\\'
2824
- msbuild_attributes['IntermediateDirectory'] = intermediate
2825
- if 'CharacterSet' in msbuild_attributes:
2826
- msbuild_attributes['CharacterSet'] = _ConvertMSVSCharacterSet(
2827
- msbuild_attributes['CharacterSet'])
2828
- if 'TargetName' not in msbuild_attributes:
2829
- prefix = spec.get('product_prefix', '')
2830
- product_name = spec.get('product_name', '$(ProjectName)')
2831
- target_name = prefix + product_name
2832
- msbuild_attributes['TargetName'] = target_name
2833
- if 'TargetExt' not in msbuild_attributes and 'product_extension' in spec:
2834
- ext = spec.get('product_extension')
2835
- msbuild_attributes['TargetExt'] = '.' + ext
2836
-
2837
- if spec.get('msvs_external_builder'):
2838
- external_out_dir = spec.get('msvs_external_builder_out_dir', '.')
2839
- msbuild_attributes['OutputDirectory'] = _FixPath(external_out_dir) + '\\'
2840
-
2841
- # Make sure that 'TargetPath' matches 'Lib.OutputFile' or 'Link.OutputFile'
2842
- # (depending on the tool used) to avoid MSB8012 warning.
2843
- msbuild_tool_map = {
2844
- 'executable': 'Link',
2845
- 'shared_library': 'Link',
2846
- 'loadable_module': 'Link',
2847
- 'static_library': 'Lib',
2848
- }
2849
- msbuild_tool = msbuild_tool_map.get(spec['type'])
2850
- if msbuild_tool:
2851
- msbuild_settings = config['finalized_msbuild_settings']
2852
- out_file = msbuild_settings[msbuild_tool].get('OutputFile')
2853
- if out_file:
2854
- msbuild_attributes['TargetPath'] = _FixPath(out_file)
2855
- target_ext = msbuild_settings[msbuild_tool].get('TargetExt')
2856
- if target_ext:
2857
- msbuild_attributes['TargetExt'] = target_ext
2858
-
2859
- return msbuild_attributes
2860
-
2861
-
2862
- def _GetMSBuildConfigurationGlobalProperties(spec, configurations, build_file):
2863
- # TODO(jeanluc) We could optimize out the following and do it only if
2864
- # there are actions.
2865
- # TODO(jeanluc) Handle the equivalent of setting 'CYGWIN=nontsec'.
2866
- new_paths = []
2867
- cygwin_dirs = spec.get('msvs_cygwin_dirs', ['.'])[0]
2868
- if cygwin_dirs:
2869
- cyg_path = '$(MSBuildProjectDirectory)\\%s\\bin\\' % _FixPath(cygwin_dirs)
2870
- new_paths.append(cyg_path)
2871
- # TODO(jeanluc) Change the convention to have both a cygwin_dir and a
2872
- # python_dir.
2873
- python_path = cyg_path.replace('cygwin\\bin', 'python_26')
2874
- new_paths.append(python_path)
2875
- if new_paths:
2876
- new_paths = '$(ExecutablePath);' + ';'.join(new_paths)
2877
-
2878
- properties = {}
2879
- for (name, configuration) in sorted(configurations.iteritems()):
2880
- condition = _GetConfigurationCondition(name, configuration)
2881
- attributes = _GetMSBuildAttributes(spec, configuration, build_file)
2882
- msbuild_settings = configuration['finalized_msbuild_settings']
2883
- _AddConditionalProperty(properties, condition, 'IntDir',
2884
- attributes['IntermediateDirectory'])
2885
- _AddConditionalProperty(properties, condition, 'OutDir',
2886
- attributes['OutputDirectory'])
2887
- _AddConditionalProperty(properties, condition, 'TargetName',
2888
- attributes['TargetName'])
2889
- if 'TargetExt' in attributes:
2890
- _AddConditionalProperty(properties, condition, 'TargetExt',
2891
- attributes['TargetExt'])
2892
-
2893
- if attributes.get('TargetPath'):
2894
- _AddConditionalProperty(properties, condition, 'TargetPath',
2895
- attributes['TargetPath'])
2896
- if attributes.get('TargetExt'):
2897
- _AddConditionalProperty(properties, condition, 'TargetExt',
2898
- attributes['TargetExt'])
2899
-
2900
- if new_paths:
2901
- _AddConditionalProperty(properties, condition, 'ExecutablePath',
2902
- new_paths)
2903
- tool_settings = msbuild_settings.get('', {})
2904
- for name, value in sorted(tool_settings.iteritems()):
2905
- formatted_value = _GetValueFormattedForMSBuild('', name, value)
2906
- _AddConditionalProperty(properties, condition, name, formatted_value)
2907
- return _GetMSBuildPropertyGroup(spec, None, properties)
2908
-
2909
-
2910
- def _AddConditionalProperty(properties, condition, name, value):
2911
- """Adds a property / conditional value pair to a dictionary.
2912
-
2913
- Arguments:
2914
- properties: The dictionary to be modified. The key is the name of the
2915
- property. The value is itself a dictionary; its key is the value and
2916
- the value a list of condition for which this value is true.
2917
- condition: The condition under which the named property has the value.
2918
- name: The name of the property.
2919
- value: The value of the property.
2920
- """
2921
- if name not in properties:
2922
- properties[name] = {}
2923
- values = properties[name]
2924
- if value not in values:
2925
- values[value] = []
2926
- conditions = values[value]
2927
- conditions.append(condition)
2928
-
2929
-
2930
- # Regex for msvs variable references ( i.e. $(FOO) ).
2931
- MSVS_VARIABLE_REFERENCE = re.compile(r'\$\(([a-zA-Z_][a-zA-Z0-9_]*)\)')
2932
-
2933
-
2934
- def _GetMSBuildPropertyGroup(spec, label, properties):
2935
- """Returns a PropertyGroup definition for the specified properties.
2936
-
2937
- Arguments:
2938
- spec: The target project dict.
2939
- label: An optional label for the PropertyGroup.
2940
- properties: The dictionary to be converted. The key is the name of the
2941
- property. The value is itself a dictionary; its key is the value and
2942
- the value a list of condition for which this value is true.
2943
- """
2944
- group = ['PropertyGroup']
2945
- if label:
2946
- group.append({'Label': label})
2947
- num_configurations = len(spec['configurations'])
2948
- def GetEdges(node):
2949
- # Use a definition of edges such that user_of_variable -> used_varible.
2950
- # This happens to be easier in this case, since a variable's
2951
- # definition contains all variables it references in a single string.
2952
- edges = set()
2953
- for value in sorted(properties[node].keys()):
2954
- # Add to edges all $(...) references to variables.
2955
- #
2956
- # Variable references that refer to names not in properties are excluded
2957
- # These can exist for instance to refer built in definitions like
2958
- # $(SolutionDir).
2959
- #
2960
- # Self references are ignored. Self reference is used in a few places to
2961
- # append to the default value. I.e. PATH=$(PATH);other_path
2962
- edges.update(set([v for v in MSVS_VARIABLE_REFERENCE.findall(value)
2963
- if v in properties and v != node]))
2964
- return edges
2965
- properties_ordered = gyp.common.TopologicallySorted(
2966
- properties.keys(), GetEdges)
2967
- # Walk properties in the reverse of a topological sort on
2968
- # user_of_variable -> used_variable as this ensures variables are
2969
- # defined before they are used.
2970
- # NOTE: reverse(topsort(DAG)) = topsort(reverse_edges(DAG))
2971
- for name in reversed(properties_ordered):
2972
- values = properties[name]
2973
- for value, conditions in sorted(values.iteritems()):
2974
- if len(conditions) == num_configurations:
2975
- # If the value is the same all configurations,
2976
- # just add one unconditional entry.
2977
- group.append([name, value])
2978
- else:
2979
- for condition in conditions:
2980
- group.append([name, {'Condition': condition}, value])
2981
- return [group]
2982
-
2983
-
2984
- def _GetMSBuildToolSettingsSections(spec, configurations):
2985
- groups = []
2986
- for (name, configuration) in sorted(configurations.iteritems()):
2987
- msbuild_settings = configuration['finalized_msbuild_settings']
2988
- group = ['ItemDefinitionGroup',
2989
- {'Condition': _GetConfigurationCondition(name, configuration)}
2990
- ]
2991
- for tool_name, tool_settings in sorted(msbuild_settings.iteritems()):
2992
- # Skip the tool named '' which is a holder of global settings handled
2993
- # by _GetMSBuildConfigurationGlobalProperties.
2994
- if tool_name:
2995
- if tool_settings:
2996
- tool = [tool_name]
2997
- for name, value in sorted(tool_settings.iteritems()):
2998
- formatted_value = _GetValueFormattedForMSBuild(tool_name, name,
2999
- value)
3000
- tool.append([name, formatted_value])
3001
- group.append(tool)
3002
- groups.append(group)
3003
- return groups
3004
-
3005
-
3006
- def _FinalizeMSBuildSettings(spec, configuration):
3007
- if 'msbuild_settings' in configuration:
3008
- converted = False
3009
- msbuild_settings = configuration['msbuild_settings']
3010
- MSVSSettings.ValidateMSBuildSettings(msbuild_settings)
3011
- else:
3012
- converted = True
3013
- msvs_settings = configuration.get('msvs_settings', {})
3014
- msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(msvs_settings)
3015
- include_dirs, midl_include_dirs, resource_include_dirs = \
3016
- _GetIncludeDirs(configuration)
3017
- libraries = _GetLibraries(spec)
3018
- library_dirs = _GetLibraryDirs(configuration)
3019
- out_file, _, msbuild_tool = _GetOutputFilePathAndTool(spec, msbuild=True)
3020
- target_ext = _GetOutputTargetExt(spec)
3021
- defines = _GetDefines(configuration)
3022
- if converted:
3023
- # Visual Studio 2010 has TR1
3024
- defines = [d for d in defines if d != '_HAS_TR1=0']
3025
- # Warn of ignored settings
3026
- ignored_settings = ['msvs_tool_files']
3027
- for ignored_setting in ignored_settings:
3028
- value = configuration.get(ignored_setting)
3029
- if value:
3030
- print ('Warning: The automatic conversion to MSBuild does not handle '
3031
- '%s. Ignoring setting of %s' % (ignored_setting, str(value)))
3032
-
3033
- defines = [_EscapeCppDefineForMSBuild(d) for d in defines]
3034
- disabled_warnings = _GetDisabledWarnings(configuration)
3035
- prebuild = configuration.get('msvs_prebuild')
3036
- postbuild = configuration.get('msvs_postbuild')
3037
- def_file = _GetModuleDefinition(spec)
3038
- precompiled_header = configuration.get('msvs_precompiled_header')
3039
-
3040
- # Add the information to the appropriate tool
3041
- # TODO(jeanluc) We could optimize and generate these settings only if
3042
- # the corresponding files are found, e.g. don't generate ResourceCompile
3043
- # if you don't have any resources.
3044
- _ToolAppend(msbuild_settings, 'ClCompile',
3045
- 'AdditionalIncludeDirectories', include_dirs)
3046
- _ToolAppend(msbuild_settings, 'Midl',
3047
- 'AdditionalIncludeDirectories', midl_include_dirs)
3048
- _ToolAppend(msbuild_settings, 'ResourceCompile',
3049
- 'AdditionalIncludeDirectories', resource_include_dirs)
3050
- # Add in libraries, note that even for empty libraries, we want this
3051
- # set, to prevent inheriting default libraries from the enviroment.
3052
- _ToolSetOrAppend(msbuild_settings, 'Link', 'AdditionalDependencies',
3053
- libraries)
3054
- _ToolAppend(msbuild_settings, 'Link', 'AdditionalLibraryDirectories',
3055
- library_dirs)
3056
- if out_file:
3057
- _ToolAppend(msbuild_settings, msbuild_tool, 'OutputFile', out_file,
3058
- only_if_unset=True)
3059
- if target_ext:
3060
- _ToolAppend(msbuild_settings, msbuild_tool, 'TargetExt', target_ext,
3061
- only_if_unset=True)
3062
- # Add defines.
3063
- _ToolAppend(msbuild_settings, 'ClCompile',
3064
- 'PreprocessorDefinitions', defines)
3065
- _ToolAppend(msbuild_settings, 'ResourceCompile',
3066
- 'PreprocessorDefinitions', defines)
3067
- # Add disabled warnings.
3068
- _ToolAppend(msbuild_settings, 'ClCompile',
3069
- 'DisableSpecificWarnings', disabled_warnings)
3070
- # Turn on precompiled headers if appropriate.
3071
- if precompiled_header:
3072
- precompiled_header = os.path.split(precompiled_header)[1]
3073
- _ToolAppend(msbuild_settings, 'ClCompile', 'PrecompiledHeader', 'Use')
3074
- _ToolAppend(msbuild_settings, 'ClCompile',
3075
- 'PrecompiledHeaderFile', precompiled_header)
3076
- _ToolAppend(msbuild_settings, 'ClCompile',
3077
- 'ForcedIncludeFiles', [precompiled_header])
3078
- else:
3079
- _ToolAppend(msbuild_settings, 'ClCompile', 'PrecompiledHeader', 'NotUsing')
3080
- # Turn off WinRT compilation
3081
- _ToolAppend(msbuild_settings, 'ClCompile', 'CompileAsWinRT', 'false')
3082
- # Turn on import libraries if appropriate
3083
- if spec.get('msvs_requires_importlibrary'):
3084
- _ToolAppend(msbuild_settings, '', 'IgnoreImportLibrary', 'false')
3085
- # Loadable modules don't generate import libraries;
3086
- # tell dependent projects to not expect one.
3087
- if spec['type'] == 'loadable_module':
3088
- _ToolAppend(msbuild_settings, '', 'IgnoreImportLibrary', 'true')
3089
- # Set the module definition file if any.
3090
- if def_file:
3091
- _ToolAppend(msbuild_settings, 'Link', 'ModuleDefinitionFile', def_file)
3092
- configuration['finalized_msbuild_settings'] = msbuild_settings
3093
- if prebuild:
3094
- _ToolAppend(msbuild_settings, 'PreBuildEvent', 'Command', prebuild)
3095
- if postbuild:
3096
- _ToolAppend(msbuild_settings, 'PostBuildEvent', 'Command', postbuild)
3097
-
3098
-
3099
- def _GetValueFormattedForMSBuild(tool_name, name, value):
3100
- if type(value) == list:
3101
- # For some settings, VS2010 does not automatically extends the settings
3102
- # TODO(jeanluc) Is this what we want?
3103
- if name in ['AdditionalIncludeDirectories',
3104
- 'AdditionalLibraryDirectories',
3105
- 'AdditionalOptions',
3106
- 'DelayLoadDLLs',
3107
- 'DisableSpecificWarnings',
3108
- 'PreprocessorDefinitions']:
3109
- value.append('%%(%s)' % name)
3110
- # For most tools, entries in a list should be separated with ';' but some
3111
- # settings use a space. Check for those first.
3112
- exceptions = {
3113
- 'ClCompile': ['AdditionalOptions'],
3114
- 'Link': ['AdditionalOptions'],
3115
- 'Lib': ['AdditionalOptions']}
3116
- if tool_name in exceptions and name in exceptions[tool_name]:
3117
- char = ' '
3118
- else:
3119
- char = ';'
3120
- formatted_value = char.join(
3121
- [MSVSSettings.ConvertVCMacrosToMSBuild(i) for i in value])
3122
- else:
3123
- formatted_value = MSVSSettings.ConvertVCMacrosToMSBuild(value)
3124
- return formatted_value
3125
-
3126
-
3127
- def _VerifySourcesExist(sources, root_dir):
3128
- """Verifies that all source files exist on disk.
3129
-
3130
- Checks that all regular source files, i.e. not created at run time,
3131
- exist on disk. Missing files cause needless recompilation but no otherwise
3132
- visible errors.
3133
-
3134
- Arguments:
3135
- sources: A recursive list of Filter/file names.
3136
- root_dir: The root directory for the relative path names.
3137
- Returns:
3138
- A list of source files that cannot be found on disk.
3139
- """
3140
- missing_sources = []
3141
- for source in sources:
3142
- if isinstance(source, MSVSProject.Filter):
3143
- missing_sources.extend(_VerifySourcesExist(source.contents, root_dir))
3144
- else:
3145
- if '$' not in source:
3146
- full_path = os.path.join(root_dir, source)
3147
- if not os.path.exists(full_path):
3148
- missing_sources.append(full_path)
3149
- return missing_sources
3150
-
3151
-
3152
- def _GetMSBuildSources(spec, sources, exclusions, rule_dependencies,
3153
- extension_to_rule_name, actions_spec,
3154
- sources_handled_by_action, list_excluded):
3155
- groups = ['none', 'masm', 'midl', 'include', 'compile', 'resource', 'rule',
3156
- 'rule_dependency']
3157
- grouped_sources = {}
3158
- for g in groups:
3159
- grouped_sources[g] = []
3160
-
3161
- _AddSources2(spec, sources, exclusions, grouped_sources,
3162
- rule_dependencies, extension_to_rule_name,
3163
- sources_handled_by_action, list_excluded)
3164
- sources = []
3165
- for g in groups:
3166
- if grouped_sources[g]:
3167
- sources.append(['ItemGroup'] + grouped_sources[g])
3168
- if actions_spec:
3169
- sources.append(['ItemGroup'] + actions_spec)
3170
- return sources
3171
-
3172
-
3173
- def _AddSources2(spec, sources, exclusions, grouped_sources,
3174
- rule_dependencies, extension_to_rule_name,
3175
- sources_handled_by_action,
3176
- list_excluded):
3177
- extensions_excluded_from_precompile = []
3178
- for source in sources:
3179
- if isinstance(source, MSVSProject.Filter):
3180
- _AddSources2(spec, source.contents, exclusions, grouped_sources,
3181
- rule_dependencies, extension_to_rule_name,
3182
- sources_handled_by_action,
3183
- list_excluded)
3184
- else:
3185
- if not source in sources_handled_by_action:
3186
- detail = []
3187
- excluded_configurations = exclusions.get(source, [])
3188
- if len(excluded_configurations) == len(spec['configurations']):
3189
- detail.append(['ExcludedFromBuild', 'true'])
3190
- else:
3191
- for config_name, configuration in sorted(excluded_configurations):
3192
- condition = _GetConfigurationCondition(config_name, configuration)
3193
- detail.append(['ExcludedFromBuild',
3194
- {'Condition': condition},
3195
- 'true'])
3196
- # Add precompile if needed
3197
- for config_name, configuration in spec['configurations'].iteritems():
3198
- precompiled_source = configuration.get('msvs_precompiled_source', '')
3199
- if precompiled_source != '':
3200
- precompiled_source = _FixPath(precompiled_source)
3201
- if not extensions_excluded_from_precompile:
3202
- # If the precompiled header is generated by a C source, we must
3203
- # not try to use it for C++ sources, and vice versa.
3204
- basename, extension = os.path.splitext(precompiled_source)
3205
- if extension == '.c':
3206
- extensions_excluded_from_precompile = ['.cc', '.cpp', '.cxx']
3207
- else:
3208
- extensions_excluded_from_precompile = ['.c']
3209
-
3210
- if precompiled_source == source:
3211
- condition = _GetConfigurationCondition(config_name, configuration)
3212
- detail.append(['PrecompiledHeader',
3213
- {'Condition': condition},
3214
- 'Create'
3215
- ])
3216
- else:
3217
- # Turn off precompiled header usage for source files of a
3218
- # different type than the file that generated the
3219
- # precompiled header.
3220
- for extension in extensions_excluded_from_precompile:
3221
- if source.endswith(extension):
3222
- detail.append(['PrecompiledHeader', ''])
3223
- detail.append(['ForcedIncludeFiles', ''])
3224
-
3225
- group, element = _MapFileToMsBuildSourceType(source, rule_dependencies,
3226
- extension_to_rule_name)
3227
- grouped_sources[group].append([element, {'Include': source}] + detail)
3228
-
3229
-
3230
- def _GetMSBuildProjectReferences(project):
3231
- references = []
3232
- if project.dependencies:
3233
- group = ['ItemGroup']
3234
- for dependency in project.dependencies:
3235
- guid = dependency.guid
3236
- project_dir = os.path.split(project.path)[0]
3237
- relative_path = gyp.common.RelativePath(dependency.path, project_dir)
3238
- project_ref = ['ProjectReference',
3239
- {'Include': relative_path},
3240
- ['Project', guid],
3241
- ['ReferenceOutputAssembly', 'false']
3242
- ]
3243
- for config in dependency.spec.get('configurations', {}).itervalues():
3244
- if config.get('msvs_use_library_dependency_inputs', 0):
3245
- project_ref.append(['UseLibraryDependencyInputs', 'true'])
3246
- break
3247
- # If it's disabled in any config, turn it off in the reference.
3248
- if config.get('msvs_2010_disable_uldi_when_referenced', 0):
3249
- project_ref.append(['UseLibraryDependencyInputs', 'false'])
3250
- break
3251
- group.append(project_ref)
3252
- references.append(group)
3253
- return references
3254
-
3255
-
3256
- def _GenerateMSBuildProject(project, options, version, generator_flags):
3257
- spec = project.spec
3258
- configurations = spec['configurations']
3259
- project_dir, project_file_name = os.path.split(project.path)
3260
- gyp.common.EnsureDirExists(project.path)
3261
- # Prepare list of sources and excluded sources.
3262
- gyp_path = _NormalizedSource(project.build_file)
3263
- relative_path_of_gyp_file = gyp.common.RelativePath(gyp_path, project_dir)
3264
-
3265
- gyp_file = os.path.split(project.build_file)[1]
3266
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags,
3267
- gyp_file)
3268
- # Add rules.
3269
- actions_to_add = {}
3270
- props_files_of_rules = set()
3271
- targets_files_of_rules = set()
3272
- rule_dependencies = set()
3273
- extension_to_rule_name = {}
3274
- list_excluded = generator_flags.get('msvs_list_excluded_files', True)
3275
-
3276
- # Don't generate rules if we are using an external builder like ninja.
3277
- if not spec.get('msvs_external_builder'):
3278
- _GenerateRulesForMSBuild(project_dir, options, spec,
3279
- sources, excluded_sources,
3280
- props_files_of_rules, targets_files_of_rules,
3281
- actions_to_add, rule_dependencies,
3282
- extension_to_rule_name)
3283
- else:
3284
- rules = spec.get('rules', [])
3285
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
3286
-
3287
- sources, excluded_sources, excluded_idl = (
3288
- _AdjustSourcesAndConvertToFilterHierarchy(spec, options,
3289
- project_dir, sources,
3290
- excluded_sources,
3291
- list_excluded, version))
3292
-
3293
- # Don't add actions if we are using an external builder like ninja.
3294
- if not spec.get('msvs_external_builder'):
3295
- _AddActions(actions_to_add, spec, project.build_file)
3296
- _AddCopies(actions_to_add, spec)
3297
-
3298
- # NOTE: this stanza must appear after all actions have been decided.
3299
- # Don't excluded sources with actions attached, or they won't run.
3300
- excluded_sources = _FilterActionsFromExcluded(
3301
- excluded_sources, actions_to_add)
3302
-
3303
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
3304
- actions_spec, sources_handled_by_action = _GenerateActionsForMSBuild(
3305
- spec, actions_to_add)
3306
-
3307
- _GenerateMSBuildFiltersFile(project.path + '.filters', sources,
3308
- rule_dependencies,
3309
- extension_to_rule_name)
3310
- missing_sources = _VerifySourcesExist(sources, project_dir)
3311
-
3312
- for configuration in configurations.itervalues():
3313
- _FinalizeMSBuildSettings(spec, configuration)
3314
-
3315
- # Add attributes to root element
3316
-
3317
- import_default_section = [
3318
- ['Import', {'Project': r'$(VCTargetsPath)\Microsoft.Cpp.Default.props'}]]
3319
- import_cpp_props_section = [
3320
- ['Import', {'Project': r'$(VCTargetsPath)\Microsoft.Cpp.props'}]]
3321
- import_cpp_targets_section = [
3322
- ['Import', {'Project': r'$(VCTargetsPath)\Microsoft.Cpp.targets'}]]
3323
- import_masm_props_section = [
3324
- ['Import',
3325
- {'Project': r'$(VCTargetsPath)\BuildCustomizations\masm.props'}]]
3326
- import_masm_targets_section = [
3327
- ['Import',
3328
- {'Project': r'$(VCTargetsPath)\BuildCustomizations\masm.targets'}]]
3329
- macro_section = [['PropertyGroup', {'Label': 'UserMacros'}]]
3330
-
3331
- content = [
3332
- 'Project',
3333
- {'xmlns': 'http://schemas.microsoft.com/developer/msbuild/2003',
3334
- 'ToolsVersion': version.ProjectVersion(),
3335
- 'DefaultTargets': 'Build'
3336
- }]
3337
-
3338
- content += _GetMSBuildProjectConfigurations(configurations)
3339
- content += _GetMSBuildGlobalProperties(spec, project.guid, project_file_name)
3340
- content += import_default_section
3341
- content += _GetMSBuildConfigurationDetails(spec, project.build_file)
3342
- if spec.get('msvs_enable_winphone'):
3343
- content += _GetMSBuildLocalProperties('v120_wp81')
3344
- else:
3345
- content += _GetMSBuildLocalProperties(project.msbuild_toolset)
3346
- content += import_cpp_props_section
3347
- content += import_masm_props_section
3348
- content += _GetMSBuildExtensions(props_files_of_rules)
3349
- content += _GetMSBuildPropertySheets(configurations)
3350
- content += macro_section
3351
- content += _GetMSBuildConfigurationGlobalProperties(spec, configurations,
3352
- project.build_file)
3353
- content += _GetMSBuildToolSettingsSections(spec, configurations)
3354
- content += _GetMSBuildSources(
3355
- spec, sources, exclusions, rule_dependencies, extension_to_rule_name,
3356
- actions_spec, sources_handled_by_action, list_excluded)
3357
- content += _GetMSBuildProjectReferences(project)
3358
- content += import_cpp_targets_section
3359
- content += import_masm_targets_section
3360
- content += _GetMSBuildExtensionTargets(targets_files_of_rules)
3361
-
3362
- if spec.get('msvs_external_builder'):
3363
- content += _GetMSBuildExternalBuilderTargets(spec)
3364
-
3365
- # TODO(jeanluc) File a bug to get rid of runas. We had in MSVS:
3366
- # has_run_as = _WriteMSVSUserFile(project.path, version, spec)
3367
-
3368
- easy_xml.WriteXmlIfChanged(content, project.path, pretty=True, win32=True)
3369
-
3370
- return missing_sources
3371
-
3372
-
3373
- def _GetMSBuildExternalBuilderTargets(spec):
3374
- """Return a list of MSBuild targets for external builders.
3375
-
3376
- The "Build" and "Clean" targets are always generated. If the spec contains
3377
- 'msvs_external_builder_clcompile_cmd', then the "ClCompile" target will also
3378
- be generated, to support building selected C/C++ files.
3379
-
3380
- Arguments:
3381
- spec: The gyp target spec.
3382
- Returns:
3383
- List of MSBuild 'Target' specs.
3384
- """
3385
- build_cmd = _BuildCommandLineForRuleRaw(
3386
- spec, spec['msvs_external_builder_build_cmd'],
3387
- False, False, False, False)
3388
- build_target = ['Target', {'Name': 'Build'}]
3389
- build_target.append(['Exec', {'Command': build_cmd}])
3390
-
3391
- clean_cmd = _BuildCommandLineForRuleRaw(
3392
- spec, spec['msvs_external_builder_clean_cmd'],
3393
- False, False, False, False)
3394
- clean_target = ['Target', {'Name': 'Clean'}]
3395
- clean_target.append(['Exec', {'Command': clean_cmd}])
3396
-
3397
- targets = [build_target, clean_target]
3398
-
3399
- if spec.get('msvs_external_builder_clcompile_cmd'):
3400
- clcompile_cmd = _BuildCommandLineForRuleRaw(
3401
- spec, spec['msvs_external_builder_clcompile_cmd'],
3402
- False, False, False, False)
3403
- clcompile_target = ['Target', {'Name': 'ClCompile'}]
3404
- clcompile_target.append(['Exec', {'Command': clcompile_cmd}])
3405
- targets.append(clcompile_target)
3406
-
3407
- return targets
3408
-
3409
-
3410
- def _GetMSBuildExtensions(props_files_of_rules):
3411
- extensions = ['ImportGroup', {'Label': 'ExtensionSettings'}]
3412
- for props_file in props_files_of_rules:
3413
- extensions.append(['Import', {'Project': props_file}])
3414
- return [extensions]
3415
-
3416
-
3417
- def _GetMSBuildExtensionTargets(targets_files_of_rules):
3418
- targets_node = ['ImportGroup', {'Label': 'ExtensionTargets'}]
3419
- for targets_file in sorted(targets_files_of_rules):
3420
- targets_node.append(['Import', {'Project': targets_file}])
3421
- return [targets_node]
3422
-
3423
-
3424
- def _GenerateActionsForMSBuild(spec, actions_to_add):
3425
- """Add actions accumulated into an actions_to_add, merging as needed.
3426
-
3427
- Arguments:
3428
- spec: the target project dict
3429
- actions_to_add: dictionary keyed on input name, which maps to a list of
3430
- dicts describing the actions attached to that input file.
3431
-
3432
- Returns:
3433
- A pair of (action specification, the sources handled by this action).
3434
- """
3435
- sources_handled_by_action = OrderedSet()
3436
- actions_spec = []
3437
- for primary_input, actions in actions_to_add.iteritems():
3438
- inputs = OrderedSet()
3439
- outputs = OrderedSet()
3440
- descriptions = []
3441
- commands = []
3442
- for action in actions:
3443
- inputs.update(OrderedSet(action['inputs']))
3444
- outputs.update(OrderedSet(action['outputs']))
3445
- descriptions.append(action['description'])
3446
- cmd = action['command']
3447
- # For most actions, add 'call' so that actions that invoke batch files
3448
- # return and continue executing. msbuild_use_call provides a way to
3449
- # disable this but I have not seen any adverse effect from doing that
3450
- # for everything.
3451
- if action.get('msbuild_use_call', True):
3452
- cmd = 'call ' + cmd
3453
- commands.append(cmd)
3454
- # Add the custom build action for one input file.
3455
- description = ', and also '.join(descriptions)
3456
-
3457
- # We can't join the commands simply with && because the command line will
3458
- # get too long. See also _AddActions: cygwin's setup_env mustn't be called
3459
- # for every invocation or the command that sets the PATH will grow too
3460
- # long.
3461
- command = '\r\n'.join([c + '\r\nif %errorlevel% neq 0 exit /b %errorlevel%'
3462
- for c in commands])
3463
- _AddMSBuildAction(spec,
3464
- primary_input,
3465
- inputs,
3466
- outputs,
3467
- command,
3468
- description,
3469
- sources_handled_by_action,
3470
- actions_spec)
3471
- return actions_spec, sources_handled_by_action
3472
-
3473
-
3474
- def _AddMSBuildAction(spec, primary_input, inputs, outputs, cmd, description,
3475
- sources_handled_by_action, actions_spec):
3476
- command = MSVSSettings.ConvertVCMacrosToMSBuild(cmd)
3477
- primary_input = _FixPath(primary_input)
3478
- inputs_array = _FixPaths(inputs)
3479
- outputs_array = _FixPaths(outputs)
3480
- additional_inputs = ';'.join([i for i in inputs_array
3481
- if i != primary_input])
3482
- outputs = ';'.join(outputs_array)
3483
- sources_handled_by_action.add(primary_input)
3484
- action_spec = ['CustomBuild', {'Include': primary_input}]
3485
- action_spec.extend(
3486
- # TODO(jeanluc) 'Document' for all or just if as_sources?
3487
- [['FileType', 'Document'],
3488
- ['Command', command],
3489
- ['Message', description],
3490
- ['Outputs', outputs]
3491
- ])
3492
- if additional_inputs:
3493
- action_spec.append(['AdditionalInputs', additional_inputs])
3494
- actions_spec.append(action_spec)