Index: tools/gn/target.cc |
diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
index a7a3d07d2063e1b49aca0505d4a419c911889fb9..71488cb8a3932ba8a82ad7408dc8fc4ad5aab340 100644 |
--- a/tools/gn/target.cc |
+++ b/tools/gn/target.cc |
@@ -219,7 +219,8 @@ std::string Target::GetComputedOutputName(bool include_prefix) const { |
const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); |
if (tool) { |
// Only add the prefix if the name doesn't already have it. |
- if (!base::StartsWithASCII(name, tool->output_prefix(), true)) |
+ if (!base::StartsWith(name, tool->output_prefix(), |
+ base::CompareCase::SENSITIVE)) |
result = tool->output_prefix(); |
} |
} |