Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 2019133002: Hash intermediate file name to avoid ENAMETOOLONG (Closed)

Created:
4 years, 6 months ago by Anna Henningsen
Modified:
4 years, 2 months ago
Reviewers:
Nico, thefourtheye
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

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`. BUG= R=thakis@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/920ee58c3d3109dea3cd37d88054014891a93db7

Patch Set 1 #

Total comments: 3

Patch Set 2 : Hash intermediate file name to avoid ENAMETOOLONG #

Patch Set 3 : Hash intermediate file name to avoid ENAMETOOLONG #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M pylib/gyp/generator/make.py View 1 2 2 chunks +6 lines, -1 line 1 comment Download

Messages

Total messages: 11 (3 generated)
Anna Henningsen
Hash the intermediate Makefile target used for multi-output rules so that it still works when ...
4 years, 6 months ago (2016-05-27 22:08:00 UTC) #1
thefourtheye
https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py#newcode35 pylib/gyp/generator/make.py:35: # and other secure hashes. In 2.6, sha is ...
4 years, 5 months ago (2016-06-29 19:31:40 UTC) #3
Anna Henningsen
https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py#newcode35 pylib/gyp/generator/make.py:35: # and other secure hashes. In 2.6, sha is ...
4 years, 5 months ago (2016-06-29 23:54:03 UTC) #4
Anna Henningsen
Sorry, not so familiar with the process here, but adding a reviewer now.
4 years, 2 months ago (2016-10-08 11:02:28 UTC) #6
Nico
Generally ok, but: https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): https://codereview.chromium.org/2019133002/diff/1/pylib/gyp/generator/make.py#newcode37 pylib/gyp/generator/make.py:37: # preserving 2.4 compatibility. I don't ...
4 years, 2 months ago (2016-10-10 14:59:51 UTC) #7
Anna Henningsen
I’ve removed the boilerplate and just inserted `import hashlib` instead. On 2016/10/10 14:59:51, Nico wrote: ...
4 years, 2 months ago (2016-10-11 16:27:07 UTC) #8
Nico
lgtm I'll run tests and land this if they pass. https://codereview.chromium.org/2019133002/diff/40001/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): https://codereview.chromium.org/2019133002/diff/40001/pylib/gyp/generator/make.py#newcode1751 ...
4 years, 2 months ago (2016-10-13 13:25:11 UTC) #9
Nico
4 years, 2 months ago (2016-10-13 13:35:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
920ee58c3d3109dea3cd37d88054014891a93db7.

Powered by Google App Engine
This is Rietveld 408576698