ANDROID: Add lzma compressed kernel image artifact

Add Image.lzma build artifact for the aarch64 kernel build. LZMA
compressed binary has the lowest size compared to gzip and lz4 which
might be useful for platforms where partition size is limited.

Bug: 457429470
Test: tools/bazel run //common:kernel_aarch64_dist

Change-Id: I4ddc3dd28b2967e7e1e88a0c0b3f192dfb7fb687
Signed-off-by: Hubert Mazur <hmazur@google.com>
This commit is contained in:
Hubert Mazur committed 2025-12-17 20:27:09 -08:00
1 parent 34ce78d599
commit 6eee86bcd8
1 file changed
+2
+2
View File
@@ -52,6 +52,7 @@ _GKI_AARCH64_MAKE_GOALS = [
"Image",
"Image.lz4",
"Image.gz",
"Image.lzma",
"modules",
]
@@ -64,6 +65,7 @@ _GKI_AARCH64_BOOT_IMAGE_SIZES = {
"": "67108864",
"lz4": "53477376",
"gz": "47185920",
"lzma": "47185920",
}
_GKI_X86_64_BOOT_IMAGE_SIZES = {