Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: tools/gn/source_file_type.cc

Issue 1207903002: Windows precompiled header support in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Scott's grammar nits Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/source_file_type.h ('k') | tools/gn/target.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/source_file_type.cc
diff --git a/tools/gn/source_file_type.cc b/tools/gn/source_file_type.cc
index 2b341252ab5831d7d035af71fcd1c6ae095e028f..72b872c5caed9bf933d62425e994c1dcdf5abbaa 100644
--- a/tools/gn/source_file_type.cc
+++ b/tools/gn/source_file_type.cc
@@ -10,7 +10,7 @@
SourceFileType GetSourceFileType(const SourceFile& file) {
base::StringPiece extension = FindExtension(&file.value());
if (extension == "cc" || extension == "cpp" || extension == "cxx")
- return SOURCE_CC;
+ return SOURCE_CPP;
if (extension == "h")
return SOURCE_H;
if (extension == "c")
« no previous file with comments | « tools/gn/source_file_type.h ('k') | tools/gn/target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698