Skip to content

Commit

Permalink
Fixed warning for arm64 host (see flutter/engine#41176)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoelke authored and DenisovAV committed Jun 25, 2023
1 parent a428020 commit a3c1801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,9 @@ def to_gn_args(args):
# There is a special case for Android on Windows because there we _only_ build
# gen_snapshot, but the build defines otherwise make it look like the build is
# for a host Windows build and make GN think we will be building ANGLE.
if is_host_build(args) or (args.target_os == 'android' and
get_host_os() == 'win'):
if (is_host_build(args) and
gn_args['host_os'] != 'mac') or (args.target_os == 'android' and
get_host_os() == 'win'):
# Do not build unnecessary parts of the ANGLE tree.
gn_args['angle_build_all'] = False
gn_args['angle_has_astc_encoder'] = False
Expand Down

0 comments on commit a3c1801

Please sign in to comment.