Grit: Fix bug with generating dependency on hidden files.

Grit previously ignored <if> conditions when generating dependency file.
This CL makes Grit to include into dependency only files that were actually
included in the output.

Bug: 866232,852038
Change-Id: I8d974219d00a76568263d7ecf8eab811807565b4
Reviewed-by: Nico Weber <>
Commit-Queue: Alexander Alekseev <>
Cr-Commit-Position: refs/heads/master@{#578086}
4 files changed