Skip to content

Commit bb17df7

Browse files
authored
Added compiling the dart code for scenario tests as part of the xcode build (flutter#16937)
1 parent 810727b commit bb17df7

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
isa = PBXNativeTarget;
298298
buildConfigurationList = 248D76F322E388380012F0C1 /* Build configuration list for PBXNativeTarget "Scenarios" */;
299299
buildPhases = (
300+
0D8470A8241035AD0030B565 /* Compile iOS JIT */,
300301
248D76C322E388370012F0C1 /* Sources */,
301302
248D76C422E388370012F0C1 /* Frameworks */,
302303
248D76C522E388370012F0C1 /* Resources */,
@@ -439,6 +440,27 @@
439440
};
440441
/* End PBXResourcesBuildPhase section */
441442

443+
/* Begin PBXShellScriptBuildPhase section */
444+
0D8470A8241035AD0030B565 /* Compile iOS JIT */ = {
445+
isa = PBXShellScriptBuildPhase;
446+
buildActionMask = 2147483647;
447+
files = (
448+
);
449+
inputFileListPaths = (
450+
);
451+
inputPaths = (
452+
);
453+
name = "Compile iOS JIT";
454+
outputFileListPaths = (
455+
);
456+
outputPaths = (
457+
);
458+
runOnlyForDeploymentPostprocessing = 0;
459+
shellPath = /bin/sh;
460+
shellScript = "set -e\ncd ../..\nif [ -z ${FLUTTER_ENGINE+x} ]; then \n FLUTTER_ENGINE=ios_debug_sim_unopt\nfi\n./compile_ios_jit.sh ../../../out/host_debug_unopt ../../../out/$FLUTTER_ENGINE/clang_x64\n";
461+
};
462+
/* End PBXShellScriptBuildPhase section */
463+
442464
/* Begin PBXSourcesBuildPhase section */
443465
248D76C322E388370012F0C1 /* Sources */ = {
444466
isa = PBXSourcesBuildPhase;

testing/scenario_app/run_ios_tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ fi
1515

1616
cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
1717

18-
./compile_ios_jit.sh ../../../out/host_debug_unopt ../../../out/$FLUTTER_ENGINE/clang_x64
19-
2018
pushd ios/Scenarios
2119

2220
set -o pipefail && xcodebuild -sdk iphonesimulator \

0 commit comments

Comments
 (0)