| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_INHERITED_LIBRARIES_H_ | 5 #ifndef TOOLS_GN_INHERITED_LIBRARIES_H_ |
| 6 #define TOOLS_GN_INHERITED_LIBRARIES_H_ | 6 #define TOOLS_GN_INHERITED_LIBRARIES_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <utility> | 11 #include <utility> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/macros.h" | 14 #include "base/macros.h" |
| 13 | 15 |
| 14 class Target; | 16 class Target; |
| 15 | 17 |
| 16 // Represents an ordered uniquified set of all shared/static libraries for | 18 // Represents an ordered uniquified set of all shared/static libraries for |
| 17 // a given target. These are pushed up the dependency tree. | 19 // a given target. These are pushed up the dependency tree. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 bool is_public; | 62 bool is_public; |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 typedef std::map<const Target*, Node> LibraryMap; | 65 typedef std::map<const Target*, Node> LibraryMap; |
| 64 LibraryMap map_; | 66 LibraryMap map_; |
| 65 | 67 |
| 66 DISALLOW_COPY_AND_ASSIGN(InheritedLibraries); | 68 DISALLOW_COPY_AND_ASSIGN(InheritedLibraries); |
| 67 }; | 69 }; |
| 68 | 70 |
| 69 #endif // TOOLS_GN_INHERITED_LIBRARIES_H_ | 71 #endif // TOOLS_GN_INHERITED_LIBRARIES_H_ |
| OLD | NEW |