Chromium Code Reviews

Unified Diff: tools/gn/toolchain.cc

Issue 1160773002: Add support for module-definition files to gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove conditional compilation and add tests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tools/gn/source_file_type.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/toolchain.cc
diff --git a/tools/gn/toolchain.cc b/tools/gn/toolchain.cc
index dbc1173b466eb8bec11034966d101b0779f59489..8ec2c2de778c706bde2843e48502a4b86f5352f9 100644
--- a/tools/gn/toolchain.cc
+++ b/tools/gn/toolchain.cc
@@ -116,6 +116,7 @@ Toolchain::ToolType Toolchain::GetToolTypeForSourceType(SourceFileType type) {
case SOURCE_UNKNOWN:
case SOURCE_H:
case SOURCE_O:
+ case SOURCE_DEF:
return TYPE_NONE;
default:
NOTREACHED();
« no previous file with comments | « tools/gn/source_file_type.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine