Index: tools/gn/ninja_target_writer.cc |
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc |
index e03b2d21a25898d6160c69944b68f2cd81fe3a26..7913735421450842c71a20627d8db601089a8e49 100644 |
--- a/tools/gn/ninja_target_writer.cc |
+++ b/tools/gn/ninja_target_writer.cc |
@@ -242,7 +242,8 @@ void NinjaTargetWriter::WriteStampForTarget( |
// First validate that the target's dependency is a stamp file. Otherwise, |
// we shouldn't have gotten here! |
- CHECK(base::EndsWith(stamp_file.value(), ".stamp", false)) |
+ CHECK(base::EndsWith(stamp_file.value(), ".stamp", |
+ base::CompareCase::INSENSITIVE_ASCII)) |
<< "Output should end in \".stamp\" for stamp file output. Instead got: " |
<< "\"" << stamp_file.value() << "\""; |