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

Unified Diff: tools/gn/ninja_target_writer.cc

Issue 314053004: Add the rule prefix for the GN input deps stamp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/ninja_target_writer.cc
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc
index a67c3facacb19b105b33d00ca4164476209eec4a..d59582e6b9b35a839bc1279c68fac0d763dfda28 100644
--- a/tools/gn/ninja_target_writer.cc
+++ b/tools/gn/ninja_target_writer.cc
@@ -114,7 +114,8 @@ std::string NinjaTargetWriter::WriteInputDepsStampAndGetDep(
path_output_.WriteFile(stamp_file_stream, input_stamp_file);
std::string stamp_file_string = stamp_file_stream.str();
- out_ << "build " << stamp_file_string << ": stamp";
+ out_ << "build " << stamp_file_string << ": " +
+ helper_.GetRulePrefix(settings_) + "stamp";
// Script file (if applicable).
if (add_script_source_as_dep) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698