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

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

Issue 2880093002: gn desc: printing public_deps without --all and --tree
Patch Set: adding data_deps and linked_deps Created 3 years, 6 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 30 matching lines...) Expand all
41 STATIC_LIBRARY, 41 STATIC_LIBRARY,
42 SOURCE_SET, 42 SOURCE_SET,
43 COPY_FILES, 43 COPY_FILES,
44 ACTION, 44 ACTION,
45 ACTION_FOREACH, 45 ACTION_FOREACH,
46 BUNDLE_DATA, 46 BUNDLE_DATA,
47 CREATE_BUNDLE, 47 CREATE_BUNDLE,
48 }; 48 };
49 49
50 enum DepsIterationType { 50 enum DepsIterationType {
51 DEPS_ALL, // Iterates through all public, private, and data deps. 51 DEPS_ALL, // Iterates through all public, private, and data deps.
52 DEPS_LINKED, // Iterates through all non-data dependencies. 52 DEPS_DATA, // Iterates through all data dependencies.
53 DEPS_LINKED, // Iterates through all non-data dependencies.
54 DEPS_PRIVATE, // Iterates through private deps.
55 DEPS_PUBLIC, // Iterates through public deps.
53 }; 56 };
54 57
55 typedef std::vector<SourceFile> FileList; 58 typedef std::vector<SourceFile> FileList;
56 typedef std::vector<std::string> StringVector; 59 typedef std::vector<std::string> StringVector;
57 60
58 Target(const Settings* settings, const Label& label); 61 Target(const Settings* settings, const Label& label);
59 ~Target() override; 62 ~Target() override;
60 63
61 // Returns a string naming the output type. 64 // Returns a string naming the output type.
62 static const char* GetStringForOutputType(OutputType type); 65 static const char* GetStringForOutputType(OutputType type);
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 OutputFile link_output_file_; 396 OutputFile link_output_file_;
394 OutputFile dependency_output_file_; 397 OutputFile dependency_output_file_;
395 std::vector<OutputFile> runtime_outputs_; 398 std::vector<OutputFile> runtime_outputs_;
396 399
397 DISALLOW_COPY_AND_ASSIGN(Target); 400 DISALLOW_COPY_AND_ASSIGN(Target);
398 }; 401 };
399 402
400 extern const char kExecution_Help[]; 403 extern const char kExecution_Help[];
401 404
402 #endif // TOOLS_GN_TARGET_H_ 405 #endif // TOOLS_GN_TARGET_H_
OLDNEW
« tools/gn/command_desc.cc ('K') | « tools/gn/desc_builder.cc ('k') | tools/gn/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698