Commit 92ee807a authored by Todd Volkert's avatar Todd Volkert

Plumb --local-engine flag through to LOCAL_ENGINE in Local.xcconfig

Fixes #4186
parent a24e9030
......@@ -70,6 +70,9 @@ void updateXcodeLocalProperties(String projectPath) {
String dartSDKPath = path.normalize(path.join(Platform.resolvedExecutable, '..', '..'));
localsBuffer.writeln('DART_SDK_PATH=$dartSDKPath');
if (tools.isLocalEngine)
localsBuffer.writeln('LOCAL_ENGINE=${tools.engineBuildPath}');
File localsFile = new File(path.join(projectPath, 'ios', '.generated', 'Local.xcconfig'));
localsFile.createSync(recursive: true);
localsFile.writeAsStringSync(localsBuffer.toString());
......
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