mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
perf(lab): BuildConfig describes the installed base, so a Lab commit does not change it
This commit is contained in:
1 parent
2213362336
commit
9d73ff75bc
1 file changed
+3
@@ -86,6 +86,9 @@ apk=$(device pm path $pkg | sed -n 's/^package://p' | grep 'base\.apk$' | head -
|
||||
[ -n "$apk" ] || fail "DroidDeck is not installed"
|
||||
|
||||
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-arm64 ANDROID_HOME=$HOME/android-sdk
|
||||
# BuildConfig describes the installed base, not each Lab commit; its commit changing would make the
|
||||
# Kotlin compile redo the whole app (the overlay's own label names the Lab build).
|
||||
export DROIDDECK_SOURCE_COMMIT=$base DROIDDECK_BUILD_LABEL="lab on ${base:0:7}" DROIDDECK_BUILD_TREE_STATE=clean GITHUB_HEAD_REF=lab
|
||||
printf 'sdk.dir=%s\n' "$ANDROID_HOME" > local.properties
|
||||
if [ ! -d "$ANDROID_HOME/platforms/android-34" ]; then
|
||||
progress sdk
|
||||
|
||||
Reference in new issue
Block a user