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

Use simarm_x64 when targeting arm #10010

Merged
merged 8 commits into from
Aug 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,9 @@ def to_gn_args(args):

gn_args['dart_custom_version_for_pub'] = 'flutter'

# Make sure host_cpu matches the bit width of target_cpu.
target_is_32_bit = gn_args['target_cpu'] == 'arm' or gn_args['target_cpu'] == 'x86'
if target_is_32_bit:
gn_args["host_cpu"] = "x86"
# Make sure host_cpu matches the bit width of target_cpu on x86.
if gn_args['target_cpu'] == 'x86':
gn_args['host_cpu'] = 'x86'

gn_args['flutter_runtime_mode'] = runtime_mode

Expand Down