From: Dennis Shen Date: Fri, 2 Dec 2022 15:31:12 +0000 (+0000) Subject: AOSP: Create blkid_static X-Git-Tag: v1.46.6~39 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1f8c70161734a245dc151e2e8c45d2378d6f8a70;p=tools%2Fe2fsprogs.git 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 --- diff --git a/misc/Android.bp b/misc/Android.bp index 04301ae..97f04d3 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