diff --git a/tools/gn b/tools/gn index 2dd11c4894641b323de5e6e3d38a482a58ca1c80..cd536eebf533aed6ccf0d2310574185db08ef733 100755 --- a/tools/gn +++ b/tools/gn @@ -201,10 +201,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