// Copyright 2016 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/analyzer.h" #include #include #include #include #include #include "base/json/json_reader.h" #include "base/json/json_writer.h" #include "base/strings/string_util.h" #include "base/values.h" #include "tools/gn/builder.h" #include "tools/gn/config.h" #include "tools/gn/config_values_extractors.h" #include "tools/gn/deps_iterator.h" #include "tools/gn/err.h" #include "tools/gn/filesystem_utils.h" #include "tools/gn/loader.h" #include "tools/gn/location.h" #include "tools/gn/pool.h" #include "tools/gn/source_file.h" #include "tools/gn/target.h" namespace { struct Inputs { std::vector source_vec; std::vector