From 1f8c70161734a245dc151e2e8c45d2378d6f8a70 Mon Sep 17 00:00:00 2001 From: Dennis Shen Date: Fri, 2 Dec 2022 15:31:12 +0000 Subject: [PATCH] AOSP: Create blkid_static static_apexer_tools depends on deapexer which depends on blkid. So we need a static version of blkid. BUG: b/257933023 TEST: local build of blkid_static Change-Id: I191840a21df1c10f4371acbe8067f39f148f28b8 From AOSP commit: 2aa5b65667e71bc278117caffa46c331d75d2803 --- misc/Android.bp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/misc/Android.bp b/misc/Android.bp index 04301ae67..97f04d372 100644 --- a/misc/Android.bp +++ b/misc/Android.bp @@ -248,6 +248,22 @@ cc_binary { ], } +cc_binary { + name: "blkid_static", + host_supported: true, + static_executable: true, + defaults: ["e2fsprogs-defaults"], + + srcs: ["blkid.c"], + static_libs: [ + "libext2fs", + "libext2_blkid", + "libext2_com_err", + "libext2_e2p", + "libext2_uuid", + ], +} + //######################################################################## // Build e4crypt -- 2.47.3