diff options
author | Dennis Shen <dzshen@google.com> | 2022-12-02 15:31:12 +0000 |
---|---|---|
committer | Dennis Shen <dzshen@google.com> | 2022-12-05 13:43:21 +0000 |
commit | 2c5676f54dfe14d826b2a23b056c82863d8dd00c (patch) | |
tree | ab1ccb62428b11d25a6921dbfb3d9349b6917f07 | |
parent | 9778bacea84b2187bbb2314dea4af415c1503d92 (diff) | |
download | e2fsprogs-2c5676f54dfe14d826b2a23b056c82863d8dd00c.tar.gz |
Create blkid_static
cherry pick of aosp/2324355
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
-rw-r--r-- | misc/Android.bp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/Android.bp b/misc/Android.bp index 629d6c98..74ee223f 100644 --- a/misc/Android.bp +++ b/misc/Android.bp @@ -251,6 +251,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 |