Skip to content

Commit acd374c

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[test] Add missing gen_snapshot flags to vm-aot-android-release-arm_x64.
Compare Flutter build. Change-Id: I1b4cba825f8b81620a30af7751c084e34e978712 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/320705 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent d2bae29 commit acd374c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/test_runner/lib/src/compiler_configuration.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,10 @@ class PrecompilerCompilerConfiguration extends CompilerConfiguration
960960
"--snapshot-kind=app-aot-assembly",
961961
"--assembly=$tempDir/out.S",
962962
],
963-
if (_isAndroid && _isArm) '--no-sim-use-hardfp',
963+
if (_isAndroid && (_isArm || _isArmX64)) ...[
964+
'--no-sim-use-hardfp',
965+
'--no-use-integer-division',
966+
],
964967
if (_configuration.isMinified) '--obfuscate',
965968
..._nnbdModeArgument(_configuration),
966969
// The SIMARM precompiler assumes support for integer division, but the

0 commit comments

Comments
 (0)