-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Mbed TLS build for Android #15680
Conversation
Add better Windows checks
Please run command Thanks. |
Done |
@ahmedyarub I found that some of the items in your comment have not yet been implemented. Is this PR ready? |
I`m sorry which comments exactly? If you are talking about Wasm and iOS support then that would be done in a separate PR during the next week. |
Test all features successfully on |
…s_android # Conflicts: # port_versions/m-/mbedtls.json
Fixed according to https://vcpkg.readthedocs.io/en/latest/users/android/ |
@ahmedyarub Ready for review now? |
Yes it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once my two comments are addressed!
Already merged from master. |
This should be ready for last review and merge. |
Describe the pull request
Allows using VCPKG toolchain + Android toolchain. Otherwise, we would not be able to use Android toolchain together with VCPKG building Mbed TLS. After this, SDK building should work on VCPKG. It also fixes the check for the environment (Windows) to make it compatible with cross-compilation.
This change can be easily extended to enable building with VCPKG + iOS/Wasm or any other cross-platform build.
Check all that applies:
Check which platforms you have built SDK on to verify the correctness of this PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.