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

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

Issue 1358803002: Add ninja console pool support to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update action/action_foreach doc 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/action_target_generator.cc ('k') | tools/gn/action_values.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_ACTION_VALUES_H_ 5 #ifndef TOOLS_GN_ACTION_VALUES_H_
6 #define TOOLS_GN_ACTION_VALUES_H_ 6 #define TOOLS_GN_ACTION_VALUES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 // Expands the outputs() above to the final SourceFile list. 37 // Expands the outputs() above to the final SourceFile list.
38 void GetOutputsAsSourceFiles(const Target* target, 38 void GetOutputsAsSourceFiles(const Target* target,
39 std::vector<SourceFile>* result) const; 39 std::vector<SourceFile>* result) const;
40 40
41 // Depfile generated by the script. 41 // Depfile generated by the script.
42 const SubstitutionPattern& depfile() const { return depfile_; } 42 const SubstitutionPattern& depfile() const { return depfile_; }
43 bool has_depfile() const { return !depfile_.ranges().empty(); } 43 bool has_depfile() const { return !depfile_.ranges().empty(); }
44 void set_depfile(const SubstitutionPattern& depfile) { depfile_ = depfile; } 44 void set_depfile(const SubstitutionPattern& depfile) { depfile_ = depfile; }
45 45
46 // Console pool option
47 bool is_console() const { return console_; }
48 void set_console(bool value) { console_ = value; }
49
46 private: 50 private:
47 SourceFile script_; 51 SourceFile script_;
48 SubstitutionList args_; 52 SubstitutionList args_;
49 SubstitutionList outputs_; 53 SubstitutionList outputs_;
50 SubstitutionPattern depfile_; 54 SubstitutionPattern depfile_;
55 bool console_;
51 56
52 DISALLOW_COPY_AND_ASSIGN(ActionValues); 57 DISALLOW_COPY_AND_ASSIGN(ActionValues);
53 }; 58 };
54 59
55 #endif // TOOLS_GN_ACTION_VALUES_H_ 60 #endif // TOOLS_GN_ACTION_VALUES_H_
OLDNEW
« no previous file with comments | « tools/gn/action_target_generator.cc ('k') | tools/gn/action_values.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698