Allow Flutter shell to be built for a Linux host. (flutter/engine#3589)

This commit is contained in:
P.Y. Laligand
2017-04-12 20:03:40 -07:00
committed by GitHub
parent 74b56314ea
commit dfb2c7f8c4
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ std::pair<bool, std::string> GetExecutableDirectoryPath() {
if (read_size == -1) {
return {false, ""};
}
return {true, files::GetDirectoryName(std::string{path, read_size})};
return {true, files::GetDirectoryName(std::string{path, static_cast<size_t>(read_size)})};
}
} // namespace paths

View File

@@ -12,7 +12,7 @@ source_set("glue") {
"//lib/ftl",
]
if (is_fuchsia || is_fuchsia_host) {
if (is_fuchsia) {
sources += [ "stack_trace_fuchsia.cc" ]
public_deps = [