| 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_BUILDER_RECORD_H_ | 5 #ifndef TOOLS_GN_BUILDER_RECORD_H_ |
| 6 #define TOOLS_GN_BUILDER_RECORD_H_ | 6 #define TOOLS_GN_BUILDER_RECORD_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "tools/gn/item.h" | 12 #include "tools/gn/item.h" |
| 13 #include "tools/gn/location.h" | 13 #include "tools/gn/location.h" |
| 14 | 14 |
| 15 class ParseNode; | 15 class ParseNode; |
| 16 | 16 |
| 17 // This class is used by the builder to manage the loading of the dependency | 17 // This class is used by the builder to manage the loading of the dependency |
| 18 // tree. It holds a reference to an item and links to other records that the | 18 // tree. It holds a reference to an item and links to other records that the |
| 19 // item depends on, both resolved ones, and unresolved ones. | 19 // item depends on, both resolved ones, and unresolved ones. |
| 20 // | 20 // |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 bool resolved_; | 102 bool resolved_; |
| 103 | 103 |
| 104 BuilderRecordSet all_deps_; | 104 BuilderRecordSet all_deps_; |
| 105 BuilderRecordSet unresolved_deps_; | 105 BuilderRecordSet unresolved_deps_; |
| 106 BuilderRecordSet waiting_on_resolution_; | 106 BuilderRecordSet waiting_on_resolution_; |
| 107 | 107 |
| 108 DISALLOW_COPY_AND_ASSIGN(BuilderRecord); | 108 DISALLOW_COPY_AND_ASSIGN(BuilderRecord); |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 #endif // TOOLS_GN_BUILDER_RECORD_H_ | 111 #endif // TOOLS_GN_BUILDER_RECORD_H_ |
| OLD | NEW |