Index: tools/gn/c_include_iterator.cc |
diff --git a/tools/gn/c_include_iterator.cc b/tools/gn/c_include_iterator.cc |
index cc3cb35d27f1c0120b979409841a94d2b0c7cff6..28654a7a746a6f52bb734c281202c154b49e4201 100644 |
--- a/tools/gn/c_include_iterator.cc |
+++ b/tools/gn/c_include_iterator.cc |
@@ -134,8 +134,7 @@ bool CIncludeIterator::GetNextIncludeString(base::StringPiece* out, |
base::StringPiece include_contents; |
int begin_char; |
IncludeType type = ExtractInclude(line, &include_contents, &begin_char); |
- if (type == INCLUDE_USER && !HasNoCheckAnnotation(line)) { |
- // Only count user includes for now. |
+ if (type != INCLUDE_NONE && !HasNoCheckAnnotation(line)) { |
*out = include_contents; |
*location = LocationRange( |
Location(input_file_, |