Commit 90369e8b authored by Corentin Wallez's avatar Corentin Wallez Committed by Commit Bot

grit_rules.gni: Fix missing dependency on predetermined IDs

The missing dependency would cause the resource_ids to not be
regenerated when the predetermined ids file were changed, causing
various compilation failures on bots.

BUG=904366
TBR=thestig@chromium.org

Change-Id: I310af635916e66ad7d35437d7116b2a3f7fae2a9
Reviewed-on: https://chromium-review.googlesource.com/c/1329793Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607193}
parent 519df6dd
......@@ -336,6 +336,11 @@ template("grit") {
# file is specified.
inputs += [ resource_ids ]
}
if (grit_predetermined_resource_ids_file != "") {
# If the predetermined ID file is present, the script outputs depend on
# it too.
inputs += [ grit_predetermined_resource_ids_file ]
}
depfile = "$depfile_dir/${grit_output_name}_stamp.d"
outputs = [ "${depfile}.stamp" ] + grit_outputs + pak_info_outputs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment