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

Issue 997813004: Allow depfile to depend on a Stamp file instead of the default first input. (Closed)

Created:
5 years, 9 months ago by knn
Modified:
5 years, 9 months ago
CC:
grit-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/grit-i18n.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Allow depfile to depend on a Stamp file instead of the default first input. BUG=466315

Patch Set 1 #

Patch Set 2 : Alternate version w/o extra stamp file #

Patch Set 3 : Add unittest + nit in comment #

Total comments: 2

Patch Set 4 : Go back to using a separate stamp file #

Total comments: 2

Patch Set 5 : +hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -8 lines) Patch
M grit/tool/build.py View 1 2 3 7 chunks +25 lines, -8 lines 0 comments Download
M grit/tool/build_unittest.py View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
knn
Grit target builds are broken when the first output of the grd file changes. This ...
5 years, 9 months ago (2015-03-11 20:35:42 UTC) #2
Nico
Thanks. Can you add a short test to build_test.py? (I'm trying to change ninja to ...
5 years, 9 months ago (2015-03-12 18:31:06 UTC) #5
knn
On 2015/03/12 18:31:06, Nico (traveling) wrote: > Thanks. Can you add a short test to ...
5 years, 9 months ago (2015-03-12 20:21:31 UTC) #6
Nico
lgtm https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py File grit/tool/build.py (right): https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py#newcode122 grit/tool/build.py:122: generated will depend on the depfile itself instead ...
5 years, 9 months ago (2015-03-12 21:34:25 UTC) #7
cjhopman
https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py File grit/tool/build.py (right): https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py#newcode122 grit/tool/build.py:122: generated will depend on the depfile itself instead of ...
5 years, 9 months ago (2015-03-12 21:38:35 UTC) #8
knn
On 2015/03/12 21:38:35, cjhopman wrote: > https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py > File grit/tool/build.py (right): > > https://codereview.chromium.org/997813004/diff/40001/grit/tool/build.py#newcode122 > ...
5 years, 9 months ago (2015-03-13 12:13:43 UTC) #9
cjhopman
lgtm
5 years, 9 months ago (2015-03-14 00:36:55 UTC) #10
Nico
https://codereview.chromium.org/997813004/diff/60001/grit/tool/build_unittest.py File grit/tool/build_unittest.py (right): https://codereview.chromium.org/997813004/diff/60001/grit/tool/build_unittest.py#newcode330 grit/tool/build_unittest.py:330: self.assertTrue(second_mtime > first_mtime) this fails for me: ====================================================================== FAIL: ...
5 years, 9 months ago (2015-03-23 18:59:35 UTC) #11
knn
https://codereview.chromium.org/997813004/diff/60001/grit/tool/build_unittest.py File grit/tool/build_unittest.py (right): https://codereview.chromium.org/997813004/diff/60001/grit/tool/build_unittest.py#newcode330 grit/tool/build_unittest.py:330: self.assertTrue(second_mtime > first_mtime) On 2015/03/23 18:59:35, Nico wrote: > ...
5 years, 9 months ago (2015-03-23 19:28:15 UTC) #12
Nico
r188
5 years, 9 months ago (2015-03-25 16:48:04 UTC) #13
knn
5 years, 9 months ago (2015-03-25 16:53:06 UTC) #14
Message was sent while issue was closed.
On 2015/03/25 16:48:04, Nico wrote:
> r188

Thanks!

Powered by Google App Engine
This is Rietveld 408576698