DescriptionMake `gn refs` handle files in data directories properly.
If a target specified `data = [ "test/" ]` and you ran
`gn refs out/Default //foo //foo/test/bar.cc`, gn refs would
incorrectly think that nothing referenced bar.cc. This patch
fixes that.
R=brettw@chromium.org
BUG=628783
Committed: https://crrev.com/267b1de99ba7baf7150d4e8e1b9e42969c16c343
Cr-Commit-Position: refs/heads/master@{#406689}
Patch Set 1 #
Total comments: 2
Patch Set 2 : use base::StartsWith #Messages
Total messages: 12 (3 generated)
|