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

Side by Side Diff: tools/gn/desc_builder.h

Issue 2160533004: Revert of [GN] Add JSON project writer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « tools/gn/commands.cc ('k') | tools/gn/desc_builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « tools/gn/commands.cc ('k') | tools/gn/desc_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698