summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Shen <dzshen@google.com>2022-12-02 15:31:12 +0000
committerTheodore Ts'o <tytso@mit.edu>2023-01-31 23:41:57 -0500
commit1f8c70161734a245dc151e2e8c45d2378d6f8a70 (patch)
treedab88db43f103aeb3cacbec56309a3ee96ee2ab8
parent218695a0a746eb5fc2875359dff3226c9709be4b (diff)
downloade2fsprogs-1f8c70161734a245dc151e2e8c45d2378d6f8a70.tar.gz
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
-rw-r--r--misc/Android.bp16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/Android.bp b/misc/Android.bp
index 04301ae6..97f04d37 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