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

Side by Side Diff: trunk/src/tools/gn/config_values_extractors.cc

Issue 21084010: Revert 214254 "Add initial prototype for the GN meta-buildsystem." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 #include "tools/gn/config_values_extractors.h"
6
7 namespace {
8
9 struct StringWriter {
10 void operator()(const std::string& s, std::ostream& out) const {
11 out << " " << s;
12 }
13 };
14
15 } // namespace
16
17 void RecursiveTargetConfigStringsToStream(
18 const Target* target,
19 const std::vector<std::string>& (ConfigValues::* getter)() const,
20 std::ostream& out) {
21 RecursiveTargetConfigToStream(target, getter, StringWriter(), out);
22 }
OLDNEW
« no previous file with comments | « trunk/src/tools/gn/config_values_extractors.h ('k') | trunk/src/tools/gn/config_values_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698