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

Unified Diff: tools/gn/builder.cc

Issue 46313003: Implement target visibility in GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « tools/gn/builder.h ('k') | tools/gn/command_gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/builder.cc
diff --git a/tools/gn/builder.cc b/tools/gn/builder.cc
index da8df5f77d7cb76f6e82226535b2395d490e1270..0f54893268dc4356360b4158b96c3abeb80a53fd 100644
--- a/tools/gn/builder.cc
+++ b/tools/gn/builder.cc
@@ -378,7 +378,7 @@ bool Builder::ResolveItem(BuilderRecord* record, Err* err) {
record->set_resolved(true);
record->item()->OnResolved();
if (!resolved_callback_.is_null())
- resolved_callback_.Run(record->item());
+ resolved_callback_.Run(record);
// Recursively update everybody waiting on this item to be resolved.
BuilderRecordSet& waiting_set = record->waiting_on_resolution();
« no previous file with comments | « tools/gn/builder.h ('k') | tools/gn/command_gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698