GN: depend on data deps of source sets.

Previously if a target depended on a source set and that source set had
data deps, building the target would not force the data dep target to be
built.

This patch hooks up the dependencies such that this happens as expected.

BUG=477104

Review URL: https://codereview.chromium.org/1095673002

Cr-Original-Commit-Position: refs/heads/master@{#325544}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e7da8f156fa15da6a33780c992ba265a024b312
2 files changed
tree: 708f589c0b8275cdfdcd5d945cff01c53954b573
  1. tools/