Index: tools/gn/ninja_binary_target_writer.cc |
diff --git a/tools/gn/ninja_binary_target_writer.cc b/tools/gn/ninja_binary_target_writer.cc |
index 1fc06b26e5787debef792f70a551dabd259ee22c..971f4d87f439bbb3ff4941a263a0603069dab438 100644 |
--- a/tools/gn/ninja_binary_target_writer.cc |
+++ b/tools/gn/ninja_binary_target_writer.cc |
@@ -650,7 +650,8 @@ void NinjaBinaryTargetWriter::WriteLibs() { |
const std::string framework_ending(".framework"); |
for (size_t i = 0; i < all_libs.size(); i++) { |
if (settings_->IsMac() && |
- base::EndsWith(all_libs[i], framework_ending, false)) { |
+ base::EndsWith(all_libs[i], framework_ending, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
// Special-case libraries ending in ".framework" on Mac. Add the |
// -framework switch and don't add the extension to the output. |
out_ << " -framework "; |