| 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_TARGET_GENERATOR_H_ | 5 #ifndef TOOLS_GN_TARGET_GENERATOR_H_ |
| 6 #define TOOLS_GN_TARGET_GENERATOR_H_ | 6 #define TOOLS_GN_TARGET_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 Target* target_; | 63 Target* target_; |
| 64 Scope* scope_; | 64 Scope* scope_; |
| 65 const FunctionCallNode* function_call_; | 65 const FunctionCallNode* function_call_; |
| 66 Err* err_; | 66 Err* err_; |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 bool FillDependentConfigs(); // Includes all types of dependent configs. | 69 bool FillDependentConfigs(); // Includes all types of dependent configs. |
| 70 bool FillData(); | 70 bool FillData(); |
| 71 bool FillDependencies(); // Includes data dependencies. | 71 bool FillDependencies(); // Includes data dependencies. |
| 72 bool FillTestonly(); | 72 bool FillTestonly(); |
| 73 bool FillAssertNoDeps(); |
| 73 | 74 |
| 74 // Reads configs/deps from the given var name, and uses the given setting on | 75 // Reads configs/deps from the given var name, and uses the given setting on |
| 75 // the target to save them. | 76 // the target to save them. |
| 76 bool FillGenericConfigs(const char* var_name, | 77 bool FillGenericConfigs(const char* var_name, |
| 77 UniqueVector<LabelConfigPair>* dest); | 78 UniqueVector<LabelConfigPair>* dest); |
| 78 bool FillGenericDeps(const char* var_name, LabelTargetVector* dest); | 79 bool FillGenericDeps(const char* var_name, LabelTargetVector* dest); |
| 79 | 80 |
| 80 DISALLOW_COPY_AND_ASSIGN(TargetGenerator); | 81 DISALLOW_COPY_AND_ASSIGN(TargetGenerator); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 #endif // TOOLS_GN_TARGET_GENERATOR_H_ | 84 #endif // TOOLS_GN_TARGET_GENERATOR_H_ |
| OLD | NEW |