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 7a611dbdd015303ae21485dbf68f8218aeccc0cf..680c0d9db459ac6366cfaef01448e0d2d106c992 100644 |
--- a/tools/gn/ninja_binary_target_writer.cc |
+++ b/tools/gn/ninja_binary_target_writer.cc |
@@ -336,7 +336,8 @@ void NinjaBinaryTargetWriter::WriteLibs() { |
const OrderedSet<std::string> all_libs = target_->all_libs(); |
const std::string framework_ending(".framework"); |
for (size_t i = 0; i < all_libs.size(); i++) { |
- if (settings_->IsMac() && EndsWith(all_libs[i], framework_ending, false)) { |
+ if (settings_->IsMac() && |
+ base::EndsWith(all_libs[i], framework_ending, false)) { |
// Special-case libraries ending in ".framework" on Mac. Add the |
// -framework switch and don't add the extension to the output. |
out_ << " -framework "; |