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

Unified Diff: tools/gn/build_settings.cc

Issue 1126193005: Check for inputs not generated by deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data
Patch Set: Created 5 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/build_settings.h ('k') | tools/gn/command_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/build_settings.cc
diff --git a/tools/gn/build_settings.cc b/tools/gn/build_settings.cc
index 3ffb8283ef0acd42eed262c0caa48f067a242df8..63ff35845cb7db16e87141ab9fd2d8fc867875f8 100644
--- a/tools/gn/build_settings.cc
+++ b/tools/gn/build_settings.cc
@@ -7,7 +7,8 @@
#include "base/files/file_util.h"
#include "tools/gn/filesystem_utils.h"
-BuildSettings::BuildSettings() {
+BuildSettings::BuildSettings()
+ : check_for_bad_items_(true) {
}
BuildSettings::BuildSettings(const BuildSettings& other)
@@ -17,7 +18,8 @@ BuildSettings::BuildSettings(const BuildSettings& other)
python_path_(other.python_path_),
build_config_file_(other.build_config_file_),
build_dir_(other.build_dir_),
- build_args_(other.build_args_) {
+ build_args_(other.build_args_),
+ check_for_bad_items_(true) {
}
BuildSettings::~BuildSettings() {
« no previous file with comments | « tools/gn/build_settings.h ('k') | tools/gn/command_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698