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

Unified Diff: tools/gn/item.cc

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Created 3 years, 6 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/item.h ('k') | tools/gn/loader.cc » ('j') | tools/gn/scope.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/item.cc
diff --git a/tools/gn/item.cc b/tools/gn/item.cc
index 4fb65d181f876e13c4016f89b8ed4c5e6de45b37..d698c087986aa7c589ffdaf422ef5e531c39808d 100644
--- a/tools/gn/item.cc
+++ b/tools/gn/item.cc
@@ -7,9 +7,13 @@
#include "base/logging.h"
#include "tools/gn/settings.h"
-Item::Item(const Settings* settings, const Label& label)
- : settings_(settings), label_(label), defined_from_(nullptr) {
-}
+Item::Item(const Settings* settings,
+ const Label& label,
+ const std::set<uint32_t>& source_files_hashes)
+ : settings_(settings),
+ label_(label),
+ defined_from_(nullptr),
+ source_files_hashes_(source_files_hashes) {}
Item::~Item() {
}
« no previous file with comments | « tools/gn/item.h ('k') | tools/gn/loader.cc » ('j') | tools/gn/scope.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698