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

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

Issue 1359243002: [GN]: Fix bug where cflag vars were not being written on non-PCH builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/ninja_binary_target_writer_unittest.cc ('k') | no next file » | 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"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 extern const char* kCflagsCC_Help; 96 extern const char* kCflagsCC_Help;
97 97
98 extern const char kCflagsObjC[]; 98 extern const char kCflagsObjC[];
99 extern const char kCflagsObjC_HelpShort[]; 99 extern const char kCflagsObjC_HelpShort[];
100 extern const char* kCflagsObjC_Help; 100 extern const char* kCflagsObjC_Help;
101 101
102 extern const char kCflagsObjCC[]; 102 extern const char kCflagsObjCC[];
103 extern const char kCflagsObjCC_HelpShort[]; 103 extern const char kCflagsObjCC_HelpShort[];
104 extern const char* kCflagsObjCC_Help; 104 extern const char* kCflagsObjCC_Help;
105 105
106 extern const char kCflagsPCHC[];
107 extern const char kCflagsPCHC_HelpShort[];
108 extern const char* kCflagsPCHC_Help;
109
110 extern const char kCflagsPCHCC[];
111 extern const char kCflagsPCHCC_HelpShort[];
112 extern const char* kCflagsPCHCC_Help;
113
114 extern const char kCflagsPCHObjC[];
115 extern const char kCflagsPCHObjC_HelpShort[];
116 extern const char* kCflagsPCHObjC_Help;
117
118 extern const char kCflagsPCHObjCC[];
119 extern const char kCflagsPCHObjCC_HelpShort[];
120 extern const char* kCflagsPCHObjCC_Help;
121
122 extern const char kCheckIncludes[]; 106 extern const char kCheckIncludes[];
123 extern const char kCheckIncludes_HelpShort[]; 107 extern const char kCheckIncludes_HelpShort[];
124 extern const char kCheckIncludes_Help[]; 108 extern const char kCheckIncludes_Help[];
125 109
126 extern const char kCompleteStaticLib[]; 110 extern const char kCompleteStaticLib[];
127 extern const char kCompleteStaticLib_HelpShort[]; 111 extern const char kCompleteStaticLib_HelpShort[];
128 extern const char kCompleteStaticLib_Help[]; 112 extern const char kCompleteStaticLib_Help[];
129 113
130 extern const char kConfigs[]; 114 extern const char kConfigs[];
131 extern const char kConfigs_HelpShort[]; 115 extern const char kConfigs_HelpShort[];
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // Note: this is used only for help so this getter is not threadsafe. 224 // Note: this is used only for help so this getter is not threadsafe.
241 const VariableInfoMap& GetBuiltinVariables(); 225 const VariableInfoMap& GetBuiltinVariables();
242 226
243 // Returns the variables used by target generators. 227 // Returns the variables used by target generators.
244 // Note: this is used only for help so this getter is not threadsafe. 228 // Note: this is used only for help so this getter is not threadsafe.
245 const VariableInfoMap& GetTargetVariables(); 229 const VariableInfoMap& GetTargetVariables();
246 230
247 } // namespace variables 231 } // namespace variables
248 232
249 #endif // TOOLS_GN_VARIABLES_H_ 233 #endif // TOOLS_GN_VARIABLES_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_binary_target_writer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698