From 9d73ff75bca79110074181711475dbf22e4bbe78 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Mon, 9 Nov 2026 23:15:23 -0500 Subject: [PATCH] perf(lab): BuildConfig describes the installed base, so a Lab commit does not change it --- tools/agent/dd-lab-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/agent/dd-lab-build b/tools/agent/dd-lab-build index 8ab92102e..387b93840 100755 --- a/tools/agent/dd-lab-build +++ b/tools/agent/dd-lab-build @@ -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