Unverified Commit 63fde92a authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Eliminate Dart 1 support from Xcode xcconfig files (#21400)

parent 3cd6f40a
...@@ -236,7 +236,6 @@ Future<XcodeBuildResult> buildXcodeProject({ ...@@ -236,7 +236,6 @@ Future<XcodeBuildResult> buildXcodeProject({
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: project, project: project,
targetOverride: targetOverride, targetOverride: targetOverride,
previewDart2: true,
buildInfo: buildInfo, buildInfo: buildInfo,
); );
......
...@@ -34,7 +34,6 @@ Future<void> updateGeneratedXcodeProperties({ ...@@ -34,7 +34,6 @@ Future<void> updateGeneratedXcodeProperties({
@required FlutterProject project, @required FlutterProject project,
@required BuildInfo buildInfo, @required BuildInfo buildInfo,
String targetOverride, String targetOverride,
@required bool previewDart2,
}) async { }) async {
final StringBuffer localsBuffer = new StringBuffer(); final StringBuffer localsBuffer = new StringBuffer();
...@@ -89,10 +88,6 @@ Future<void> updateGeneratedXcodeProperties({ ...@@ -89,10 +88,6 @@ Future<void> updateGeneratedXcodeProperties({
localsBuffer.writeln('ARCHS=$arch'); localsBuffer.writeln('ARCHS=$arch');
} }
if (previewDart2) {
localsBuffer.writeln('PREVIEW_DART_2=true');
}
if (buildInfo.trackWidgetCreation) { if (buildInfo.trackWidgetCreation) {
localsBuffer.writeln('TRACK_WIDGET_CREATION=true'); localsBuffer.writeln('TRACK_WIDGET_CREATION=true');
} }
......
...@@ -230,7 +230,6 @@ class IosProject { ...@@ -230,7 +230,6 @@ class IosProject {
project: parent, project: parent,
buildInfo: BuildInfo.debug, buildInfo: BuildInfo.debug,
targetOverride: bundle.defaultMainPath, targetOverride: bundle.defaultMainPath,
previewDart2: true,
); );
} }
} }
......
...@@ -290,7 +290,6 @@ Information about project "Runner": ...@@ -290,7 +290,6 @@ Information about project "Runner":
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: project, project: project,
buildInfo: buildInfo, buildInfo: buildInfo,
previewDart2: true,
); );
final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig'); final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
...@@ -308,7 +307,6 @@ Information about project "Runner": ...@@ -308,7 +307,6 @@ Information about project "Runner":
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: project, project: project,
buildInfo: buildInfo, buildInfo: buildInfo,
previewDart2: true,
); );
final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig'); final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
...@@ -326,7 +324,6 @@ Information about project "Runner": ...@@ -326,7 +324,6 @@ Information about project "Runner":
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: project, project: project,
buildInfo: buildInfo, buildInfo: buildInfo,
previewDart2: true,
); );
final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig'); final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
...@@ -345,7 +342,6 @@ Information about project "Runner": ...@@ -345,7 +342,6 @@ Information about project "Runner":
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: project, project: project,
buildInfo: buildInfo, buildInfo: buildInfo,
previewDart2: true,
); );
final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig'); final File config = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
...@@ -383,7 +379,6 @@ Information about project "Runner": ...@@ -383,7 +379,6 @@ Information about project "Runner":
await updateGeneratedXcodeProperties( await updateGeneratedXcodeProperties(
project: await FlutterProject.fromPath('path/to/project'), project: await FlutterProject.fromPath('path/to/project'),
buildInfo: buildInfo, buildInfo: buildInfo,
previewDart2: true,
); );
final File localPropertiesFile = fs.file('path/to/project/ios/Flutter/Generated.xcconfig'); final File localPropertiesFile = fs.file('path/to/project/ios/Flutter/Generated.xcconfig');
......
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