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

Unified Diff: tools/gn/tool.h

Issue 1690843002: gn: Add runtime_link_output to tool("solib") (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: e Created 4 years, 10 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/target_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/tool.h
diff --git a/tools/gn/tool.h b/tools/gn/tool.h
index 8cd0c7eeddcf8ad10f1ff551278e68855d480fd8..9360ce66ef646381b07d7a904902349cedfcf58d 100644
--- a/tools/gn/tool.h
+++ b/tools/gn/tool.h
@@ -125,6 +125,14 @@ class Tool {
depend_output_ = dep_out;
}
+ const SubstitutionPattern& runtime_link_output() const {
+ return runtime_link_output_;
+ }
+ void set_runtime_link_output(const SubstitutionPattern& run_out) {
+ DCHECK(!complete_);
+ runtime_link_output_ = run_out;
+ }
+
const std::string& output_prefix() const {
return output_prefix_;
}
@@ -187,6 +195,7 @@ class Tool {
SubstitutionList outputs_;
SubstitutionPattern link_output_;
SubstitutionPattern depend_output_;
+ SubstitutionPattern runtime_link_output_;
std::string output_prefix_;
bool restat_;
SubstitutionPattern rspfile_;
« no previous file with comments | « tools/gn/target_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698