diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2019-10-11 13:20:16 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-13 16:20:22 -0700 |
commit | 6f814013f45698a9178203331b62e3fe07fdb7d5 (patch) | |
tree | ef9203f3a1a1e28cc74dbce144136082c176a96c /lib | |
parent | 545f7282d126ee43cf9cfeb66c83d0cbd2c60614 (diff) | |
download | android-node-v8-6f814013f45698a9178203331b62e3fe07fdb7d5.tar.gz android-node-v8-6f814013f45698a9178203331b62e3fe07fdb7d5.tar.bz2 android-node-v8-6f814013f45698a9178203331b62e3fe07fdb7d5.zip |
build: fix version checks in gyp files
Make `distutils.version.StrictVersion` available as a helper to
gyp expressions so they can do proper version checks and update
the gyp files accordingly.
Caveat emptor: `StrictVersion` does *not* like empty strings so
this commit adds truthiness guards. The helper could deal with
those but I felt it better to make it explicit.
Fixes: https://github.com/nodejs/node/issues/29927
PR-URL: https://github.com/nodejs/node/pull/29931
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions