Index: tools/gn/target_generator.cc |
diff --git a/tools/gn/target_generator.cc b/tools/gn/target_generator.cc |
index ca193b646d9c1f11526a70bb4acd8de34bb72c7a..7d47f51f5eb88e259758ef01a72e7a50d1a4d0f2 100644 |
--- a/tools/gn/target_generator.cc |
+++ b/tools/gn/target_generator.cc |
@@ -88,7 +88,8 @@ void TargetGenerator::GenerateTarget(Scope* scope, |
if (g_scheduler->verbose_logging()) |
g_scheduler->Log("Defining target", label.GetUserVisibleName(true)); |
- std::unique_ptr<Target> target(new Target(scope->settings(), label)); |
+ std::unique_ptr<Target> target( |
+ new Target(scope->settings(), label, scope->source_files_hashes())); |
target->set_defined_from(function_call); |
// Create and call out to the proper generator. |