mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-24 21:45:21 +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 {
|
||||
ndk {
|
||||
// Include x86_64 for emulator support during development
|
||||
abiFilters += listOf("arm64-v8a", "x86_64")
|
||||
abiFilters += listOf("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||
}
|
||||
}
|
||||
release {
|
||||
@@ -52,7 +52,7 @@ android {
|
||||
abi {
|
||||
isEnable = true
|
||||
reset()
|
||||
include("arm64-v8a", "x86_64")
|
||||
include("arm64-v8a", "x86_64", "armeabi-v7a", "x86")
|
||||
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
|
||||
if [ "$RELEASE_ONLY" = true ]; then
|
||||
TARGETS=("aarch64-linux-android")
|
||||
TARGETS=("aarch64-linux-android" "armv7-linux-androideabi")
|
||||
else
|
||||
TARGETS=("aarch64-linux-android" "x86_64-linux-android")
|
||||
TARGETS=("aarch64-linux-android" "x86_64-linux-android" "armv7-linux-androideabi" "i686-linux-android")
|
||||
fi
|
||||
|
||||
# Map Rust targets to Android ABI names
|
||||
declare -A ABI_MAP=(
|
||||
["aarch64-linux-android"]="arm64-v8a"
|
||||
["x86_64-linux-android"]="x86_64"
|
||||
["armv7-linux-androideabi"]="armeabi-v7a"
|
||||
["i686-linux-android"]="x86"
|
||||
)
|
||||
|
||||
# Toolchain placeholders (set in detect_ndk_host)
|
||||
@@ -331,6 +333,18 @@ clone_or_update_arti() {
|
||||
git clean -ffdqx --quiet
|
||||
|
||||
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 ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user