Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9fca3c7

Browse files
authored
Use simarm_x64 when targeting arm (#10010)
* GN changes for simarm_x64 * GN changes for simarm_x64 * Cleanup a bit * Guard simarm_x64 behind a flag * Remove flag * Remove Mac specificity
1 parent bf92885 commit 9fca3c7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/gn

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,9 @@ def to_gn_args(args):
201201

202202
gn_args['dart_custom_version_for_pub'] = 'flutter'
203203

204-
# Make sure host_cpu matches the bit width of target_cpu.
205-
target_is_32_bit = gn_args['target_cpu'] == 'arm' or gn_args['target_cpu'] == 'x86'
206-
if target_is_32_bit:
207-
gn_args["host_cpu"] = "x86"
204+
# Make sure host_cpu matches the bit width of target_cpu on x86.
205+
if gn_args['target_cpu'] == 'x86':
206+
gn_args['host_cpu'] = 'x86'
208207

209208
gn_args['flutter_runtime_mode'] = runtime_mode
210209

0 commit comments

Comments
 (0)