Plumb --local-engine flag through to LOCAL_ENGINE in Local.xcconfig
Fixes #4186
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user