Windows: Add ARM64 distribution support (see issue #2773)

To generate Windows ARM64 builds set the CEF_ENABLE_ARM64=1 environment
variable and pass the "--arm64-build --build-target=cefsimple" command-line
arguments to automate-git.py. We can't build cefclient.exe for ARM64 due to
missing OpenGL library support so build cefsimple.exe instead.
This commit is contained in:
Marshall Greenblatt
2020-12-15 14:11:11 -05:00
parent 2a64387259
commit b798147c33
5 changed files with 28 additions and 5 deletions

View File

@ -860,7 +860,9 @@ if platform == 'windows':
# yapf: enable
if mode == 'client':
binaries.append({'path': 'cefclient.exe'})
binaries.append({
'path': 'cefsimple.exe' if platform_arch == 'arm64' else 'cefclient.exe'
})
else:
binaries.append({'path': libcef_dll_lib, 'out_path': 'libcef.lib'})