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

Unified Diff: tools/gn/target.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/target.h ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/target.cc
diff --git a/tools/gn/target.cc b/tools/gn/target.cc
index f8af71588f0ef49e3df22a829809a84037309fe2..645671dc900931aac552b43bacf92eecc2a3a5bb 100644
--- a/tools/gn/target.cc
+++ b/tools/gn/target.cc
@@ -273,8 +273,10 @@ Dependencies
future, do not rely on this behavior.
)";
-Target::Target(const Settings* settings, const Label& label)
- : Item(settings, label),
+Target::Target(const Settings* settings,
+ const Label& label,
+ const InputFileSet& input_files)
+ : Item(settings, label, input_files),
output_type_(UNKNOWN),
output_prefix_override_(false),
output_extension_set_(false),
@@ -282,8 +284,7 @@ Target::Target(const Settings* settings, const Label& label)
check_includes_(true),
complete_static_lib_(false),
testonly_(false),
- toolchain_(nullptr) {
-}
+ toolchain_(nullptr) {}
Target::~Target() {
}
« no previous file with comments | « tools/gn/target.h ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698