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

Unified Diff: tools/gn/scheduler.cc

Issue 1252403005: Add output reference to gen written files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not escape paths in build.ninja.d Created 5 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
« tools/gn/ninja_build_writer.cc ('K') | « tools/gn/scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/scheduler.cc
diff --git a/tools/gn/scheduler.cc b/tools/gn/scheduler.cc
index 622019ef05635af0769107e0f7fa4e01ae31d451..db0929db09543c5736e29bfbf5759ef18154e81d 100644
--- a/tools/gn/scheduler.cc
+++ b/tools/gn/scheduler.cc
@@ -113,6 +113,11 @@ void Scheduler::AddWrittenFile(const SourceFile& file) {
written_files_.push_back(file);
}
+std::vector<SourceFile> Scheduler::GetWrittenFiles() const {
+ base::AutoLock lock(lock_);
+ return written_files_;
+}
+
void Scheduler::AddUnknownGeneratedInput(const Target* target,
const SourceFile& file) {
base::AutoLock lock(lock_);
« tools/gn/ninja_build_writer.cc ('K') | « tools/gn/scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698