mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-24 22:45:20 +00:00
Update arti to 1.9.0 and produce 32 bit builds (#585)
* x86 * update arti to 1.9.0
This commit is contained in:
@@ -33,7 +33,7 @@ android {
|
|||||||
debug {
|
debug {
|
||||||
ndk {
|
ndk {
|
||||||
// Include x86_64 for emulator support during development
|
// Include x86_64 for emulator support during development
|
||||||
abiFilters += listOf("arm64-v8a", "x86_64")
|
abiFilters += listOf("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
@@ -52,7 +52,7 @@ android {
|
|||||||
abi {
|
abi {
|
||||||
isEnable = true
|
isEnable = true
|
||||||
reset()
|
reset()
|
||||||
include("arm64-v8a", "x86_64")
|
include("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||||
isUniversalApk = true // For F-Droid and fallback
|
isUniversalApk = true // For F-Droid and fallback
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
arti-v1.7.0
|
arti-v1.9.0
|
||||||
@@ -129,15 +129,17 @@ done
|
|||||||
|
|
||||||
# Architectures to build
|
# Architectures to build
|
||||||
if [ "$RELEASE_ONLY" = true ]; then
|
if [ "$RELEASE_ONLY" = true ]; then
|
||||||
TARGETS=("aarch64-linux-android")
|
TARGETS=("aarch64-linux-android" "armv7-linux-androideabi")
|
||||||
else
|
else
|
||||||
TARGETS=("aarch64-linux-android" "x86_64-linux-android")
|
TARGETS=("aarch64-linux-android" "x86_64-linux-android" "armv7-linux-androideabi" "i686-linux-android")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Map Rust targets to Android ABI names
|
# Map Rust targets to Android ABI names
|
||||||
declare -A ABI_MAP=(
|
declare -A ABI_MAP=(
|
||||||
["aarch64-linux-android"]="arm64-v8a"
|
["aarch64-linux-android"]="arm64-v8a"
|
||||||
["x86_64-linux-android"]="x86_64"
|
["x86_64-linux-android"]="x86_64"
|
||||||
|
["armv7-linux-androideabi"]="armeabi-v7a"
|
||||||
|
["i686-linux-android"]="x86"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Toolchain placeholders (set in detect_ndk_host)
|
# Toolchain placeholders (set in detect_ndk_host)
|
||||||
@@ -331,6 +333,18 @@ clone_or_update_arti() {
|
|||||||
git clean -ffdqx --quiet
|
git clean -ffdqx --quiet
|
||||||
|
|
||||||
print_success "Arti source ready at version $VERSION"
|
print_success "Arti source ready at version $VERSION"
|
||||||
|
|
||||||
|
# Apply patches
|
||||||
|
if [ -d "$SCRIPT_DIR/patches" ]; then
|
||||||
|
print_info "Applying patches..."
|
||||||
|
for patch in "$SCRIPT_DIR/patches"/*.patch; do
|
||||||
|
if [ -f "$patch" ]; then
|
||||||
|
print_info "Applying $(basename "$patch")"
|
||||||
|
git apply "$patch" || { print_error "Failed to apply $patch"; exit 1; }
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user