Build mozc_tip64.dll
for ARM64 with GYP
#1139
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As a preparation to build Mozc for ARM64 in Windows (#1130), this commit demonstrates that it is technically possible for us to build
mozc_tip64.dll
as an ARM64 DLL with GYP even though GYP itself does not officially support it.With this commit you need to install the following additional Visual Studio components even when you do not build Mozc for ARM64 Windows.
Microsoft.VisualStudio.Component.VC.Redist.14.Latest
Microsoft.VisualStudio.Component.VC.ATL
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.ATL.ARM64
Microsoft.VisualStudio.Component.VC.Tools.ARM64
Note that
mozc_tip64.dll
for ARM64 will be built only when explicitly specified inbuild_mozc.py build
. There must be no change in the final artifacts when just building the installer package.Note also that we still need to build ARM64X DLL to actually support ARM64 Windows environment.
Issue IDs
Steps to test new behaviors (if any)
python build_mozc.py gyp
python build_mozc.py build out_win/Release_x64:mozc_tip64
python build_mozc.py build out_win/Release_arm64:mozc_tip64
dumpbin /headers out_win/Release_x64/mozc_tip64.dll | findstr machine
dumpbin /headers out_win/Release_arm64/mozc_tip64.dll | findstr machine
8664 machine (x64)
is shown at the step 4 andAA64 machine (ARM64)
is shown at the step 5.