summaryrefslogtreecommitdiffstats
path: root/tools/grit/grit_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grit/grit_info.py')
-rwxr-xr-xtools/grit/grit_info.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/grit/grit_info.py b/tools/grit/grit_info.py
index c036aa0..70c82eb 100755
--- a/tools/grit/grit_info.py
+++ b/tools/grit/grit_info.py
@@ -57,6 +57,9 @@ def Inputs(filename):
# Only include files that we actually plan on using.
if node.SatisfiesOutputCondition():
files.append(node.FilenameToOpen())
+ # If it's a flattened node, grab inlined resources too.
+ if node.attrs['flattenhtml'] == 'true':
+ files.extend(node.GetHtmlResourceFilenames())
# Add in the grit source files. If one of these change, we want to re-run
# grit.