Chromium Code Reviews| Index: tools/gn/source_file_type.cc |
| diff --git a/tools/gn/source_file_type.cc b/tools/gn/source_file_type.cc |
| index 35c87098290b556f75bd601337f55a818824b264..2b341252ab5831d7d035af71fcd1c6ae095e028f 100644 |
| --- a/tools/gn/source_file_type.cc |
| +++ b/tools/gn/source_file_type.cc |
| @@ -25,6 +25,8 @@ SourceFileType GetSourceFileType(const SourceFile& file) { |
| return SOURCE_S; |
| if (extension == "o" || extension == "obj") |
| return SOURCE_O; |
| + if (extension == "def") |
| + return SOURCE_DEF; |
| return SOURCE_UNKNOWN; |
| } |