0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/gyp
Anna Henningsen 5111e789e6
deps: float gyp patch for long filenames
Pulling in https://codereview.chromium.org/2019133002/ in its current
state, as gyp seems to be largely abandoned as a project.

Original commit message:

    Hash intermediate file name to avoid ENAMETOOLONG

    Hash the intermediate Makefile target used for multi-output rules
    so that it still works when the involved file names are very long.

    Since the intermediate file's name is effectively arbitrary, this
    does not come with notable behavioural changes.

    The `import hashlib` boilerplate is taken directly
    from `xcodeproj_file.py`.

Concretely, this makes the V8 inspector build currently fail when long
pathnames are involved, notably when using ecryptfs which has a lower
file name length limit.

Fixes: https://github.com/nodejs/node/issues/7959
Ref: https://github.com/nodejs/node/issues/7510
PR-URL: https://github.com/nodejs/node/pull/7963
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2016-08-08 22:49:11 +02:00
..
buildbot tools: update gyp to 25ed9ac 2015-06-30 13:38:26 +02:00
data/win
pylib/gyp deps: float gyp patch for long filenames 2016-08-08 22:49:11 +02:00
samples
tools
.gitignore
AUTHORS
codereview.settings
DEPS
gyp
gyp_main.py tools: update gyp to b3cef02 2015-10-30 12:23:57 +01:00
gyp.bat
gyptest.py
LICENSE
OWNERS
PRESUBMIT.py tools: update gyp to b3cef02 2015-10-30 12:23:57 +01:00
setup.py