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

Issue 20313002: Avoid too long command lines. (Closed)

Created:
7 years, 5 months ago by whywhat
Modified:
7 years, 5 months ago
Reviewers:
cjhopman, newt (away)
CC:
chromium-reviews
Visibility:
Public.

Description

Avoid too long command lines. The hash is calculated for the list of the resource files to determine if the files were changed (added, removed, renamed, etc). The current way of doing it may explode the command line length over the system limit. To avoid it, the list of the input files is written to a temporary file on disk and the file is used to calculate the checksum. BUG=177552 R=cjhopman@chromium.org, newt@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213849

Patch Set 1 #

Total comments: 14

Patch Set 2 : Late expansion, target name in the file name, ignoring the .tmp files in src/ dir #

Patch Set 3 : Changed the file extension to .gypcmd #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M build/java.gypi View 1 2 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
whywhat
PTaL
7 years, 5 months ago (2013-07-25 14:04:28 UTC) #1
cjhopman
https://codereview.chromium.org/20313002/diff/1/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/20313002/diff/1/build/java.gypi#newcode159 build/java.gypi:159: 'inputs_list_file': '<|(inputs_list.tmp <@(_inputs))' I think this file is written ...
7 years, 5 months ago (2013-07-25 15:35:17 UTC) #2
newt (away)
https://codereview.chromium.org/20313002/diff/1/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/20313002/diff/1/build/java.gypi#newcode159 build/java.gypi:159: 'inputs_list_file': '<|(inputs_list.tmp <@(_inputs))' On 2013/07/25 15:35:17, cjhopman wrote: > ...
7 years, 5 months ago (2013-07-25 17:55:13 UTC) #3
cjhopman
https://codereview.chromium.org/20313002/diff/1/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/20313002/diff/1/build/java.gypi#newcode159 build/java.gypi:159: 'inputs_list_file': '<|(inputs_list.tmp <@(_inputs))' On 2013/07/25 17:55:13, newt wrote: > ...
7 years, 5 months ago (2013-07-25 18:05:25 UTC) #4
newt (away)
https://codereview.chromium.org/20313002/diff/1/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/20313002/diff/1/build/java.gypi#newcode159 build/java.gypi:159: 'inputs_list_file': '<|(inputs_list.tmp <@(_inputs))' On 2013/07/25 18:05:26, cjhopman wrote: > ...
7 years, 5 months ago (2013-07-25 18:11:39 UTC) #5
cjhopman
https://codereview.chromium.org/20313002/diff/1/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/20313002/diff/1/build/java.gypi#newcode159 build/java.gypi:159: 'inputs_list_file': '<|(inputs_list.tmp <@(_inputs))' On 2013/07/25 18:11:40, newt wrote: > ...
7 years, 5 months ago (2013-07-25 18:17:49 UTC) #6
whywhat
PTAL What's the way to properly test this locally? The generated .tmp files seem to ...
7 years, 5 months ago (2013-07-25 20:01:48 UTC) #7
newt (away)
You can test this by gyping and building, then removing a resource file, re-gyping and ...
7 years, 5 months ago (2013-07-25 20:09:27 UTC) #8
whywhat
Thanks, I tested and it works on my machine. I've changed the file extension to ...
7 years, 5 months ago (2013-07-25 21:26:35 UTC) #9
newt (away)
lgtm
7 years, 5 months ago (2013-07-25 21:30:55 UTC) #10
cjhopman
lgtm
7 years, 5 months ago (2013-07-25 21:33:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avayvod@chromium.org/20313002/18001
7 years, 5 months ago (2013-07-26 03:02:03 UTC) #12
whywhat
7 years, 5 months ago (2013-07-26 11:46:47 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 manually as r213849 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698