Chromium Code Reviews| Index: tools/gn/target.cc |
| diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
| index 7dd192181ea891e96aa6a9762470fc63af02496e..594b368a5522911faca499e00da771da6c8413eb 100644 |
| --- a/tools/gn/target.cc |
| +++ b/tools/gn/target.cc |
| @@ -531,6 +531,13 @@ void Target::FillOutputFiles() { |
| this, tool, tool->depend_output()); |
| } |
| } |
| + if (tool->runtime_link_output().empty()) { |
| + runtime_link_output_file_ = link_output_file_; |
|
scottmg
2016/02/11 02:06:28
Why did you not put this up in the block with the
Nico
2016/02/11 02:09:03
The other two must both be set or not set and that
|
| + } else { |
| + runtime_link_output_file_ = |
| + SubstitutionWriter::ApplyPatternToLinkerAsOutputFile( |
| + this, tool, tool->runtime_link_output()); |
| + } |
| break; |
| case UNKNOWN: |
| default: |