mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
Gradle task buildRustStores runs cargo ndk for arm64-v8a (API 26) into app/build/rustJniLibs, one more jniLibs source, before preBuild; -PskipRust=true leaves the library out for a checkout without a Rust toolchain. cargo-ndk exports the NDK clang/llvm-ar for ring (rustls), the step Bannerlator's CI does by hand. CI adds the Android target and cargo-ndk, caches the cargo registry, cargo-ndk and the crate's target tree keyed on rustc + Cargo.lock, and after the build checks the exports in the apk's libdroiddeckstores.so and that the lockfile did not move (uploading it when it did). tools/build_local.sh gets the same step, DROIDDECK_SKIP_RUST=1 to opt out.
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
*.iml
|
|
.gradle/
|
|
local.properties
|
|
.idea/
|
|
.DS_Store
|
|
build/
|
|
captures/
|
|
.externalNativeBuild/
|
|
.cxx/
|
|
.kotlin/
|
|
# Built in CI from tools/linuxfs and app/src/main/cpp/fakeinput.cpp, never committed, so the two
|
|
# copies cannot drift.
|
|
app/src/main/assets/linuxfs/
|
|
app/src/main/jniLibs/arm64-v8a/libproot.so
|
|
app/src/main/jniLibs/arm64-v8a/.proot-inputs
|
|
app/src/main/jniLibs/arm64-v8a/libproot-loader.so
|
|
app/src/main/jniLibs/arm64-v8a/libdirectaudiorelay.so
|
|
# The store download engines (app/src/main/rust/stores) are cross-compiled by Gradle into
|
|
# app/build/rustJniLibs; cargo's own build tree stays next to the crate. Neither is source.
|
|
app/src/main/rust/stores/target/
|
|
app/src/main/assets/droiddeck-esync/
|
|
|
|
# Kotlin compiler session files (build-tool state, never source).
|
|
.kotlin/
|
|
|
|
# Signing keys never enter the repo (DroidDeck's lives in GitHub environment secrets; see
|
|
# tools/release/make-release-key.sh). keystore/testkey.p12 is the public AOSP testkey.
|
|
*.jks
|
|
*.keystore
|
|
*.p12
|
|
*.pfx
|
|
*.pk8
|
|
*.pem
|
|
!keystore/testkey.p12
|
|
droiddeck-release-key/
|
|
password.txt
|
|
__pycache__/
|
|
|
|
# Local signing with the release key (tools/build_local.sh); holds a password.
|
|
.signing.env
|
|
app/src/main/assets/directaudio/
|