Skip to content

Commit 654620b

Browse files
committed
wip
1 parent 483fd00 commit 654620b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

engine/src/flutter/build/copy_info_plist.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ def get_clang_version():
2727
clang_executable = str(
2828
os.path.join(_src_root_dir, 'flutter', 'buildtools', 'mac-x64', 'clang', 'bin', 'clang++')
2929
)
30+
if not os.path.exists(clang_executable):
31+
clang_executable = str(
32+
os.path.join(_src_root_dir, 'flutter', 'buildtools', 'mac-arm64', 'clang', 'bin', 'clang++')
33+
)
3034
version = subprocess.check_output([clang_executable, '--version'])
3135
return version.splitlines()[0]
3236

0 commit comments

Comments
 (0)