File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,6 @@ jobs:
118
118
- plat : android
119
119
systemcrypto : ' -UseSystemOpenSSLCrypto'
120
120
# TODO: android to support ubuntu-24.04
121
- - plat : android
122
- os : ' ubuntu-24.04'
123
- systemcrypto : ' -UseSystemOpenSSLCrypto'
124
121
# No openssl system crypto on ubuntu-22.04
125
122
- plat : linux
126
123
os : ' ubuntu-22.04'
Original file line number Diff line number Diff line change @@ -505,16 +505,21 @@ function CMake-Generate {
505
505
$Arguments += " -DQUIC_HIGH_RES_TIMERS=on"
506
506
}
507
507
if ($Platform -eq " android" ) {
508
- $NDK = $env: ANDROID_NDK_LATEST_HOME -replace ' 26\.\d+\.\d+ ' , ' 25.2.9519653 ' # Temporary work around. Use RegEx to replace newer version.
508
+ $NDK = $env: ANDROID_NDK_LATEST_HOME
509
509
$env: PATH = " $NDK /toolchains/llvm/prebuilt/linux-x86_64/bin:$env: PATH "
510
+ $env: ANDROID_NDK_HOME = $NDK
511
+ $env: ANDROID_NDK_ROOT = $NDK # Set ANDROID_NDK_ROOT to ensure consistency
512
+ Write-Host " Set ANDROID_NDK_HOME: $env: ANDROID_NDK_HOME "
513
+ Write-Host " Set ANDROID_NDK_ROOT: $env: ANDROID_NDK_ROOT "
514
+ Write-Host " Set ANDROID_NDK_LATEST_HOME: $env: ANDROID_NDK_LATEST_HOME "
515
+
510
516
switch ($Arch ) {
511
517
" x86" { $Arguments += " -DANDROID_ABI=x86" }
512
518
" x64" { $Arguments += " -DANDROID_ABI=x86_64" }
513
519
" arm" { $Arguments += " -DANDROID_ABI=armeabi-v7a" }
514
520
" arm64" { $Arguments += " -DANDROID_ABI=arm64-v8a" }
515
521
}
516
522
$Arguments += " -DANDROID_PLATFORM=android-29"
517
- $env: ANDROID_NDK_HOME = $NDK
518
523
$NdkToolchainFile = " $NDK /build/cmake/android.toolchain.cmake"
519
524
$Arguments += " -DANDROID_NDK="" $NDK "" "
520
525
$Arguments += " -DCMAKE_TOOLCHAIN_FILE="" $NdkToolchainFile "" "
You can’t perform that action at this time.
0 commit comments