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

Unified Diff: tools/gn/target.h

Issue 2178173002: Allow GN toolchains to specify runtime deps outputs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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/runtime_deps.cc ('k') | tools/gn/target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/target.h
diff --git a/tools/gn/target.h b/tools/gn/target.h
index bd84ec3732ffa654fc008e1ebbf1645cb5ba4caa..6b28f1f745d313928a6419468b38fc9014efe101 100644
--- a/tools/gn/target.h
+++ b/tools/gn/target.h
@@ -292,8 +292,10 @@ class Target : public Item {
const OutputFile& dependency_output_file() const {
return dependency_output_file_;
}
- const OutputFile& runtime_link_output_file() const {
- return runtime_link_output_file_;
+
+ // The subset of computed_outputs that are considered runtime outputs.
+ const std::vector<OutputFile>& runtime_outputs() const {
+ return runtime_outputs_;
}
// Computes the set of output files resulting from compiling the given source
@@ -392,7 +394,7 @@ class Target : public Item {
std::vector<OutputFile> computed_outputs_;
OutputFile link_output_file_;
OutputFile dependency_output_file_;
- OutputFile runtime_link_output_file_;
+ std::vector<OutputFile> runtime_outputs_;
DISALLOW_COPY_AND_ASSIGN(Target);
};
« no previous file with comments | « tools/gn/runtime_deps.cc ('k') | tools/gn/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698