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

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

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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/builder.h ('k') | tools/gn/deps_iterator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_GN_CONFIG_VALUES_GENERATOR_H_ 5 #ifndef TOOLS_GN_CONFIG_VALUES_GENERATOR_H_
6 #define TOOLS_GN_CONFIG_VALUES_GENERATOR_H_ 6 #define TOOLS_GN_CONFIG_VALUES_GENERATOR_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "tools/gn/source_dir.h" 9 #include "tools/gn/source_dir.h"
10 10
11 class ConfigValues; 11 class ConfigValues;
12 class Err; 12 class Err;
13 class Scope; 13 class Scope;
14 class Token;
15 14
16 // This class fills in the config values from a given scope. It's shared 15 // This class fills in the config values from a given scope. It's shared
17 // between the "config" function call and all the different binary target types 16 // between the "config" function call and all the different binary target types
18 // (shared library, static library, etc.) since all of these support the 17 // (shared library, static library, etc.) since all of these support the
19 // various flags stored in the ConfigValues class. 18 // various flags stored in the ConfigValues class.
20 class ConfigValuesGenerator { 19 class ConfigValuesGenerator {
21 public: 20 public:
22 ConfigValuesGenerator(ConfigValues* dest_values, 21 ConfigValuesGenerator(ConfigValues* dest_values,
23 Scope* scope, 22 Scope* scope,
24 const SourceDir& input_dir, 23 const SourceDir& input_dir,
(...skipping 12 matching lines...) Expand all
37 DISALLOW_COPY_AND_ASSIGN(ConfigValuesGenerator); 36 DISALLOW_COPY_AND_ASSIGN(ConfigValuesGenerator);
38 }; 37 };
39 38
40 // For using in documentation for functions which use this. 39 // For using in documentation for functions which use this.
41 #define CONFIG_VALUES_VARS_HELP \ 40 #define CONFIG_VALUES_VARS_HELP \
42 " Flags: cflags, cflags_c, cflags_cc, cflags_objc, cflags_objcc,\n" \ 41 " Flags: cflags, cflags_c, cflags_cc, cflags_objc, cflags_objcc,\n" \
43 " asmflags, defines, include_dirs, ldflags, lib_dirs, libs,\n" \ 42 " asmflags, defines, include_dirs, ldflags, lib_dirs, libs,\n" \
44 " precompiled_header, precompiled_source\n" 43 " precompiled_header, precompiled_source\n"
45 44
46 #endif // TOOLS_GN_CONFIG_VALUES_GENERATOR_H_ 45 #endif // TOOLS_GN_CONFIG_VALUES_GENERATOR_H_
OLDNEW
« no previous file with comments | « tools/gn/builder.h ('k') | tools/gn/deps_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698