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

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

Issue 2140363002: GN: Fix ordering of public and all dep configs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // appended to. 306 // appended to.
307 bool GetOutputFilesForSource(const SourceFile& source, 307 bool GetOutputFilesForSource(const SourceFile& source,
308 Toolchain::ToolType* computed_tool_type, 308 Toolchain::ToolType* computed_tool_type,
309 std::vector<OutputFile>* outputs) const; 309 std::vector<OutputFile>* outputs) const;
310 310
311 private: 311 private:
312 FRIEND_TEST_ALL_PREFIXES(Target, ResolvePrecompiledHeaders); 312 FRIEND_TEST_ALL_PREFIXES(Target, ResolvePrecompiledHeaders);
313 313
314 // Pulls necessary information from dependencies to this one when all 314 // Pulls necessary information from dependencies to this one when all
315 // dependencies have been resolved. 315 // dependencies have been resolved.
316 void PullDependentTargetConfigsFrom(const Target* dep);
317 void PullDependentTargetConfigs(); 316 void PullDependentTargetConfigs();
318 void PullDependentTargetLibsFrom(const Target* dep, bool is_public); 317 void PullDependentTargetLibsFrom(const Target* dep, bool is_public);
319 void PullDependentTargetLibs(); 318 void PullDependentTargetLibs();
320 void PullRecursiveHardDeps(); 319 void PullRecursiveHardDeps();
321 void PullRecursiveBundleData(); 320 void PullRecursiveBundleData();
322 321
323 // Fills the link and dependency output files when a target is resolved. 322 // Fills the link and dependency output files when a target is resolved.
324 void FillOutputFiles(); 323 void FillOutputFiles();
325 324
326 // Checks precompiled headers from configs and makes sure the resulting 325 // Checks precompiled headers from configs and makes sure the resulting
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Output files. Empty until the target is resolved. 391 // Output files. Empty until the target is resolved.
393 std::vector<OutputFile> computed_outputs_; 392 std::vector<OutputFile> computed_outputs_;
394 OutputFile link_output_file_; 393 OutputFile link_output_file_;
395 OutputFile dependency_output_file_; 394 OutputFile dependency_output_file_;
396 OutputFile runtime_link_output_file_; 395 OutputFile runtime_link_output_file_;
397 396
398 DISALLOW_COPY_AND_ASSIGN(Target); 397 DISALLOW_COPY_AND_ASSIGN(Target);
399 }; 398 };
400 399
401 #endif // TOOLS_GN_TARGET_H_ 400 #endif // TOOLS_GN_TARGET_H_
OLDNEW
« no previous file with comments | « no previous file | tools/gn/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698