| OLD | NEW |
| 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 <string> | 8 #include "base/macros.h" |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 #include "tools/gn/source_dir.h" | 9 #include "tools/gn/source_dir.h" |
| 13 | 10 |
| 14 class ConfigValues; | 11 class ConfigValues; |
| 15 class Err; | 12 class Err; |
| 16 class Scope; | 13 class Scope; |
| 17 class Token; | 14 class Token; |
| 18 | 15 |
| 19 // This class fills in the config values from a given scope. It's shared | 16 // This class fills in the config values from a given scope. It's shared |
| 20 // between the "config" function call and all the different binary target types | 17 // between the "config" function call and all the different binary target types |
| 21 // (shared library, static library, etc.) since all of these support the | 18 // (shared library, static library, etc.) since all of these support the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 40 DISALLOW_COPY_AND_ASSIGN(ConfigValuesGenerator); | 37 DISALLOW_COPY_AND_ASSIGN(ConfigValuesGenerator); |
| 41 }; | 38 }; |
| 42 | 39 |
| 43 // For using in documentation for functions which use this. | 40 // For using in documentation for functions which use this. |
| 44 #define CONFIG_VALUES_VARS_HELP \ | 41 #define CONFIG_VALUES_VARS_HELP \ |
| 45 " Flags: cflags, cflags_c, cflags_cc, cflags_objc, cflags_objcc,\n" \ | 42 " Flags: cflags, cflags_c, cflags_cc, cflags_objc, cflags_objcc,\n" \ |
| 46 " defines, include_dirs, ldflags, lib_dirs, libs\n" \ | 43 " defines, include_dirs, ldflags, lib_dirs, libs\n" \ |
| 47 " precompiled_header, precompiled_source\n" | 44 " precompiled_header, precompiled_source\n" |
| 48 | 45 |
| 49 #endif // TOOLS_GN_CONFIG_VALUES_GENERATOR_H_ | 46 #endif // TOOLS_GN_CONFIG_VALUES_GENERATOR_H_ |
| OLD | NEW |