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

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

Issue 572893002: GN: Refine 'complete' static library handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync patches to recent GN changes Created 5 years, 7 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
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_TARGET_H_ 5 #ifndef TOOLS_GN_TARGET_H_
6 #define TOOLS_GN_TARGET_H_ 6 #define TOOLS_GN_TARGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 void PullForwardedDependentConfigs(); 250 void PullForwardedDependentConfigs();
251 void PullForwardedDependentConfigsFrom(const Target* from); 251 void PullForwardedDependentConfigsFrom(const Target* from);
252 void PullRecursiveHardDeps(); 252 void PullRecursiveHardDeps();
253 253
254 // Fills the link and dependency output files when a target is resolved. 254 // Fills the link and dependency output files when a target is resolved.
255 void FillOutputFiles(); 255 void FillOutputFiles();
256 256
257 // Validates the given thing when a target is resolved. 257 // Validates the given thing when a target is resolved.
258 bool CheckVisibility(Err* err) const; 258 bool CheckVisibility(Err* err) const;
259 bool CheckTestonly(Err* err) const; 259 bool CheckTestonly(Err* err) const;
260 bool CheckNoNestedStaticLibs(Err* err) const;
261 260
262 OutputType output_type_; 261 OutputType output_type_;
263 std::string output_name_; 262 std::string output_name_;
264 std::string output_extension_; 263 std::string output_extension_;
265 264
266 FileList sources_; 265 FileList sources_;
267 bool all_headers_public_; 266 bool all_headers_public_;
268 FileList public_headers_; 267 FileList public_headers_;
269 bool check_includes_; 268 bool check_includes_;
270 bool complete_static_lib_; 269 bool complete_static_lib_;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 const Toolchain* toolchain_; 302 const Toolchain* toolchain_;
304 303
305 // Output files. Null until the target is resolved. 304 // Output files. Null until the target is resolved.
306 OutputFile link_output_file_; 305 OutputFile link_output_file_;
307 OutputFile dependency_output_file_; 306 OutputFile dependency_output_file_;
308 307
309 DISALLOW_COPY_AND_ASSIGN(Target); 308 DISALLOW_COPY_AND_ASSIGN(Target);
310 }; 309 };
311 310
312 #endif // TOOLS_GN_TARGET_H_ 311 #endif // TOOLS_GN_TARGET_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_binary_target_writer.cc ('k') | tools/gn/target.cc » ('j') | tools/gn/target.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698