diff options
Diffstat (limited to 'chromium/tools/gn/target.cc')
-rw-r--r-- | chromium/tools/gn/target.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/tools/gn/target.cc b/chromium/tools/gn/target.cc index 7790a857e64..0bf4dae27ac 100644 --- a/chromium/tools/gn/target.cc +++ b/chromium/tools/gn/target.cc @@ -282,6 +282,7 @@ Target::Target(const Settings* settings, const Label& label) check_includes_(true), complete_static_lib_(false), testonly_(false), + create_pri_file_(false), toolchain_(nullptr) {} Target::~Target() { @@ -686,6 +687,9 @@ void Target::FillOutputFiles() { SubstitutionWriter::ApplyListToLinkerAsOutputFile( this, tool, tool->runtime_outputs(), &runtime_outputs_); } + if (create_pri_file()) { + dependency_output_file_ = OutputFile(label().name() + ".stamp"); + } break; case UNKNOWN: default: |