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_OUTPUT_FILE_H_ | 5 #ifndef TOOLS_GN_OUTPUT_FILE_H_ |
6 #define TOOLS_GN_OUTPUT_FILE_H_ | 6 #define TOOLS_GN_OUTPUT_FILE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
11 #include "tools/gn/build_settings.h" | 13 #include "tools/gn/build_settings.h" |
12 | 14 |
13 class SourceFile; | 15 class SourceFile; |
14 | 16 |
15 // A simple wrapper around a string that indicates the string is a path | 17 // A simple wrapper around a string that indicates the string is a path |
16 // relative to the output directory. | 18 // relative to the output directory. |
17 class OutputFile { | 19 class OutputFile { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 57 } |
56 }; | 58 }; |
57 | 59 |
58 } // namespace BASE_HASH_NAMESPACE | 60 } // namespace BASE_HASH_NAMESPACE |
59 | 61 |
60 inline void swap(OutputFile& lhs, OutputFile& rhs) { | 62 inline void swap(OutputFile& lhs, OutputFile& rhs) { |
61 lhs.value().swap(rhs.value()); | 63 lhs.value().swap(rhs.value()); |
62 } | 64 } |
63 | 65 |
64 #endif // TOOLS_GN_OUTPUT_FILE_H_ | 66 #endif // TOOLS_GN_OUTPUT_FILE_H_ |
OLD | NEW |