Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: tools/gn/target.cc

Issue 551843006: GN: fix datadeps visibility check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/target_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/target.cc
diff --git a/tools/gn/target.cc b/tools/gn/target.cc
index ba1e4b780610c995e49be094804a1d665c20290c..dc2d9e156cec3dc9e713cf09e7f74518aedebbc5 100644
--- a/tools/gn/target.cc
+++ b/tools/gn/target.cc
@@ -362,7 +362,7 @@ bool Target::CheckVisibility(Err* err) const {
}
for (size_t i = 0; i < datadeps_.size(); i++) {
- if (deps_[i].origin &&
+ if (datadeps_[i].origin &&
!Visibility::CheckItemVisibility(this, datadeps_[i].ptr, err))
return false;
}
« no previous file with comments | « no previous file | tools/gn/target_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698