Index: tools/gn/toolchain.cc |
diff --git a/tools/gn/toolchain.cc b/tools/gn/toolchain.cc |
index 8ec2c2de778c706bde2843e48502a4b86f5352f9..cdd70c02f5546740fdf6adb3c4bd0929f21090ea 100644 |
--- a/tools/gn/toolchain.cc |
+++ b/tools/gn/toolchain.cc |
@@ -102,7 +102,7 @@ Toolchain::ToolType Toolchain::GetToolTypeForSourceType(SourceFileType type) { |
switch (type) { |
case SOURCE_C: |
return TYPE_CC; |
- case SOURCE_CC: |
+ case SOURCE_CPP: |
return TYPE_CXX; |
case SOURCE_M: |
return TYPE_OBJC; |