mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-26 06:37:45 +08:00
Provisioning: Install OpenSSL via Vcpkg on Windows
- Add a custom triplets for building dynamic android libraries - Set `ANDROID_NDK_HOME` environment variable, as it is needed when vcpkg builds for Android. - Install openSSL for x64-windows, arm64-windows, and armeabi-v7a-android-qt. The android triplet has been renamed from vcpkg's official `arm-neon-android.cmake` triplet to further clarify the android abi. - The version of the libraries installed via vcpkg is being written to versions.txt as `vpckg <library-name> = <library-version>` Task-number: QTBUG-115715 Change-Id: I4a17bf00e59c3c90968941be6a21c1d961ba3d97 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -50,6 +50,9 @@ function Install($1, $2, $3, $4) {
|
||||
Write-Host "Installing Android NDK $ndkVersionDefault"
|
||||
Install $ndkCachedUrlDefault $ndkZip $ndkChecksumDefault $ndkOfficialUrlDefault
|
||||
Set-EnvironmentVariable "ANDROID_NDK_ROOT_DEFAULT" $ndkFolderDefault
|
||||
# To be used by vcpkg
|
||||
Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolderDefault
|
||||
$env:ANDROID_NDK_HOME = "$ndkFolderDefault"
|
||||
|
||||
if (Test-Path -Path $ndkFolderLatest) {
|
||||
Write-Host "Android Latest version is the same than Default. NDK installation done."
|
||||
|
||||
Reference in New Issue
Block a user