No newline in depfile output, which seems to confuse ninja (flutter/engine#125)

This commit is contained in:
Dan Field
2022-04-07 20:38:56 -07:00
committed by Dan Field
parent da54caee10
commit f48865ec86

View File

@@ -458,7 +458,7 @@ std::unique_ptr<fml::Mapping> Compiler::CreateDepfileContents(
const auto dependencies = GetDependencyNames(" ");
std::stringstream stream;
stream << targets << ":\n\t" << dependencies << "\n";
stream << targets << ": " << dependencies << "\n";
auto contents = std::make_shared<std::string>(stream.str());
return std::make_unique<fml::NonOwnedMapping>(