Commit cdbc9427 authored by Jason Simmons's avatar Jason Simmons

Merge pull request #1814 from jason-simmons/mojo_toolchain_path

Try to locate the toolchain in the output layout used by the Flutter …
parents 6c814335 42be77b7
......@@ -32,6 +32,9 @@ class Compiler {
Future<String> _getCompilerPath(BuildConfiguration config) async {
if (config.type != BuildType.prebuilt) {
String compilerPath = path.join(config.buildDir, 'clang_x64', 'sky_snapshot');
if (FileSystemEntity.isFileSync(compilerPath))
return compilerPath;
compilerPath = path.join(config.buildDir, 'sky_snapshot');
if (FileSystemEntity.isFileSync(compilerPath))
return compilerPath;
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment