Revert "--print-deps now returns resolved paths (#3449)" (flutter/engine#3454)

This reverts commit 6655e40784.

Reason: broke hot reload when using "package:" style imports for
sources within the same project.
This commit is contained in:
Michael Goderbauer
2017-02-28 10:54:00 -08:00
committed by GitHub
parent 6b00d896c4
commit 50e15ad8ad

View File

@@ -277,7 +277,7 @@ int CreateSnapshot(const ftl::CommandLine& command_line) {
return 1;
}
// The script has been loaded, print out the minimal dependencies to run.
for (const auto& dep : loader.dependencies()) {
for (const auto& dep : loader.url_dependencies()) {
std::string file = dep;
FTL_DCHECK(!file.empty());
std::cout << file << "\n";