Allow Flutter shell to be built for a Linux host. (flutter/engine#3589)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user