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

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: Improve complete_static_lib help; other style nitpicks Created 4 years, 8 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') | tools/gn/target.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_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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // Fills the link and dependency output files when a target is resolved. 323 // Fills the link and dependency output files when a target is resolved.
324 void FillOutputFiles(); 324 void FillOutputFiles();
325 325
326 // Checks precompiled headers from configs and makes sure the resulting 326 // Checks precompiled headers from configs and makes sure the resulting
327 // values are in config_values_. 327 // values are in config_values_.
328 bool ResolvePrecompiledHeaders(Err* err); 328 bool ResolvePrecompiledHeaders(Err* err);
329 329
330 // Validates the given thing when a target is resolved. 330 // Validates the given thing when a target is resolved.
331 bool CheckVisibility(Err* err) const; 331 bool CheckVisibility(Err* err) const;
332 bool CheckTestonly(Err* err) const; 332 bool CheckTestonly(Err* err) const;
333 bool CheckNoNestedStaticLibs(Err* err) const;
334 bool CheckAssertNoDeps(Err* err) const; 333 bool CheckAssertNoDeps(Err* err) const;
335 void CheckSourcesGenerated() const; 334 void CheckSourcesGenerated() const;
336 void CheckSourceGenerated(const SourceFile& source) const; 335 void CheckSourceGenerated(const SourceFile& source) const;
337 336
338 OutputType output_type_; 337 OutputType output_type_;
339 std::string output_name_; 338 std::string output_name_;
340 bool output_prefix_override_; 339 bool output_prefix_override_;
341 SourceDir output_dir_; 340 SourceDir output_dir_;
342 std::string output_extension_; 341 std::string output_extension_;
343 bool output_extension_set_; 342 bool output_extension_set_;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // Output files. Empty until the target is resolved. 392 // Output files. Empty until the target is resolved.
394 std::vector<OutputFile> computed_outputs_; 393 std::vector<OutputFile> computed_outputs_;
395 OutputFile link_output_file_; 394 OutputFile link_output_file_;
396 OutputFile dependency_output_file_; 395 OutputFile dependency_output_file_;
397 OutputFile runtime_link_output_file_; 396 OutputFile runtime_link_output_file_;
398 397
399 DISALLOW_COPY_AND_ASSIGN(Target); 398 DISALLOW_COPY_AND_ASSIGN(Target);
400 }; 399 };
401 400
402 #endif // TOOLS_GN_TARGET_H_ 401 #endif // TOOLS_GN_TARGET_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_binary_target_writer_unittest.cc ('k') | tools/gn/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698