Index: tools/gn/ninja_target_writer.h |
diff --git a/tools/gn/ninja_target_writer.h b/tools/gn/ninja_target_writer.h |
index 937b2402db60c64f435d51d90edbd720981a7717..38378686947a82de96c8b78835a910d45d94926f 100644 |
--- a/tools/gn/ninja_target_writer.h |
+++ b/tools/gn/ninja_target_writer.h |
@@ -35,7 +35,10 @@ class NinjaTargetWriter { |
// implicit dependencies, returns the empty string. |
std::string GetSourcesImplicitDeps() const; |
- // Returns the FileTemplate constructed from the outputs variable. |
+ // Returns the FileTemplate constructed from the outputs variable. This is |
+ // like FileTemplate::GetForTargetOutputs except this additionally trims the |
+ // build directory from the front so we can just write the names without |
+ // further processing. |
FileTemplate GetOutputTemplate() const; |
const Settings* settings_; // Non-owning. |