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

Unified Diff: tools/gn/item.cc

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Fix compilation after rebase. 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') | no next file with comments »
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..2dd679460be578332b8b0922924a361f11b16839 100644
--- a/tools/gn/item.cc
+++ b/tools/gn/item.cc
@@ -1,15 +1,18 @@
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
#include "tools/gn/item.h"
#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 InputFileSet& input_files)
+ : settings_(settings),
+ label_(label),
+ defined_from_(nullptr),
+ input_files_(input_files) {}
Item::~Item() {
}
« no previous file with comments | « tools/gn/item.h ('k') | tools/gn/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698