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

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

Issue 516703005: Remove built-in component and test targets from GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/functions_target.cc ('k') | tools/gn/variables.cc » ('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_VARIABLES_H_ 5 #ifndef TOOLS_GN_VARIABLES_H_
6 #define TOOLS_GN_VARIABLES_H_ 6 #define TOOLS_GN_VARIABLES_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
11 11
12 namespace variables { 12 namespace variables {
13 13
14 // Builtin vars ---------------------------------------------------------------- 14 // Builtin vars ----------------------------------------------------------------
15 15
16 extern const char kBuildCpuArch[]; 16 extern const char kBuildCpuArch[];
17 extern const char kBuildCpuArch_HelpShort[]; 17 extern const char kBuildCpuArch_HelpShort[];
18 extern const char kBuildCpuArch_Help[]; 18 extern const char kBuildCpuArch_Help[];
19 19
20 extern const char kBuildOs[]; 20 extern const char kBuildOs[];
21 extern const char kBuildOs_HelpShort[]; 21 extern const char kBuildOs_HelpShort[];
22 extern const char kBuildOs_Help[]; 22 extern const char kBuildOs_Help[];
23 23
24 extern const char kComponentMode[];
25 extern const char kComponentMode_HelpShort[];
26 extern const char kComponentMode_Help[];
27
28 extern const char kCpuArch[]; 24 extern const char kCpuArch[];
29 extern const char kCpuArch_HelpShort[]; 25 extern const char kCpuArch_HelpShort[];
30 extern const char kCpuArch_Help[]; 26 extern const char kCpuArch_Help[];
31 27
32 extern const char kCurrentToolchain[]; 28 extern const char kCurrentToolchain[];
33 extern const char kCurrentToolchain_HelpShort[]; 29 extern const char kCurrentToolchain_HelpShort[];
34 extern const char kCurrentToolchain_Help[]; 30 extern const char kCurrentToolchain_Help[];
35 31
36 extern const char kDefaultToolchain[]; 32 extern const char kDefaultToolchain[];
37 extern const char kDefaultToolchain_HelpShort[]; 33 extern const char kDefaultToolchain_HelpShort[];
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // Note: this is used only for help so this getter is not threadsafe. 188 // Note: this is used only for help so this getter is not threadsafe.
193 const VariableInfoMap& GetBuiltinVariables(); 189 const VariableInfoMap& GetBuiltinVariables();
194 190
195 // Returns the variables used by target generators. 191 // Returns the variables used by target generators.
196 // Note: this is used only for help so this getter is not threadsafe. 192 // Note: this is used only for help so this getter is not threadsafe.
197 const VariableInfoMap& GetTargetVariables(); 193 const VariableInfoMap& GetTargetVariables();
198 194
199 } // namespace variables 195 } // namespace variables
200 196
201 #endif // TOOLS_GN_VARIABLES_H_ 197 #endif // TOOLS_GN_VARIABLES_H_
OLDNEW
« no previous file with comments | « tools/gn/functions_target.cc ('k') | tools/gn/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698