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

Unified Diff: tools/gn/ninja_target_writer.h

Issue 80463004: GN generator for GYP actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/gyp_target_writer.cc ('k') | tools/gn/scope_per_file_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « tools/gn/gyp_target_writer.cc ('k') | tools/gn/scope_per_file_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698