| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SOURCE_FILE_TYPE_H_ | 5 #ifndef TOOLS_GN_SOURCE_FILE_TYPE_H_ |
| 6 #define TOOLS_GN_SOURCE_FILE_TYPE_H_ | 6 #define TOOLS_GN_SOURCE_FILE_TYPE_H_ |
| 7 | 7 |
| 8 class SourceFile; | 8 class SourceFile; |
| 9 | 9 |
| 10 enum SourceFileType { | 10 enum SourceFileType { |
| 11 SOURCE_UNKNOWN, | 11 SOURCE_UNKNOWN, |
| 12 SOURCE_ASM, | 12 SOURCE_ASM, |
| 13 SOURCE_C, | 13 SOURCE_C, |
| 14 SOURCE_CC, | 14 SOURCE_CC, |
| 15 SOURCE_H, | 15 SOURCE_H, |
| 16 SOURCE_M, | 16 SOURCE_M, |
| 17 SOURCE_MM, | 17 SOURCE_MM, |
| 18 SOURCE_S, | 18 SOURCE_S, |
| 19 SOURCE_RC, | 19 SOURCE_RC, |
| 20 SOURCE_O, // Object files can be inputs, too. Also counts .obj. | 20 SOURCE_O, // Object files can be inputs, too. Also counts .obj. |
| 21 SOURCE_DEF, |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 SourceFileType GetSourceFileType(const SourceFile& file); | 24 SourceFileType GetSourceFileType(const SourceFile& file); |
| 24 | 25 |
| 25 #endif // TOOLS_GN_SOURCE_FILE_TYPE_H_ | 26 #endif // TOOLS_GN_SOURCE_FILE_TYPE_H_ |
| OLD | NEW |