| OLD | NEW |
| 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 |
| 11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
| 12 #include "tools/gn/source_file.h" | 12 #include "tools/gn/source_file.h" |
| 13 #include "tools/gn/substitution_list.h" | 13 #include "tools/gn/substitution_list.h" |
| 14 | 14 |
| 15 class Target; | 15 class Target; |
| 16 | 16 |
| 17 // Holds the values (outputs, args, script name, etc.) for either an action or | 17 // Holds the values (outputs, args, script name, etc.) for either an action or |
| 18 // an action_foreach target. | 18 // an action_foreach target. |
| 19 class ActionValues { | 19 class ActionValues { |
| 20 public: | 20 public: |
| 21 ActionValues(); | 21 ActionValues(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 private: | 46 private: |
| 47 SourceFile script_; | 47 SourceFile script_; |
| 48 SubstitutionList args_; | 48 SubstitutionList args_; |
| 49 SubstitutionList outputs_; | 49 SubstitutionList outputs_; |
| 50 SubstitutionPattern depfile_; | 50 SubstitutionPattern depfile_; |
| 51 | 51 |
| 52 DISALLOW_COPY_AND_ASSIGN(ActionValues); | 52 DISALLOW_COPY_AND_ASSIGN(ActionValues); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 #endif // TOOLS_GN_ACTION_VALUES_H_ | 55 #endif // TOOLS_GN_ACTION_VALUES_H_ |
| OLD | NEW |