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 1320683002: Write sources from flattenhtml to depfiles. (Closed)

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

Description

Write sources from flattenhtml to depfiles. Previously, only explicit inputs were written to depfiles. This patch adds any includes in files marked "flattenhtml=true" which are also dependencies of the .grd file. BUG=http://crbug.com/519860

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M grit/node/misc.py View 1 chunk +8 lines, -2 lines 0 comments Download
M grit/node/misc_unittest.py View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
brettw
5 years, 3 months ago (2015-08-26 17:30:58 UTC) #2
Dan Beam
lgtm but I'm still confused as to how this worked for GYP but not GN...
5 years, 3 months ago (2015-08-26 17:35:03 UTC) #3
brettw
5 years, 3 months ago (2015-08-26 17:41:46 UTC) #4
GYP uses a different code path for getting the input files that doesn't involve
writing depfiles. The code GYP calls is in tools/grit/grit_info.py.

Powered by Google App Engine
This is Rietveld 408576698