OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef TOOLS_GN_DESC_BUILDER_H_ |
| 6 #define TOOLS_GN_DESC_BUILDER_H_ |
| 7 |
| 8 #include "base/values.h" |
| 9 #include "tools/gn/target.h" |
| 10 |
| 11 class DescBuilder { |
| 12 public: |
| 13 // Creates Dictionary representation for given target |
| 14 static std::unique_ptr<base::DictionaryValue> DescriptionForTarget( |
| 15 const Target* target, |
| 16 const std::string& what, |
| 17 bool all, |
| 18 bool tree, |
| 19 bool blame); |
| 20 |
| 21 // Creates Dictionary representation for given config |
| 22 static std::unique_ptr<base::DictionaryValue> DescriptionForConfig( |
| 23 const Config* config, |
| 24 const std::string& what); |
| 25 }; |
| 26 |
| 27 #endif |
OLD | NEW |