Whamcloud - gitweb
AOSP: Build filefrag
authorSandeep Patil <sspatil@google.com>
Wed, 26 Dec 2018 23:10:24 +0000 (15:10 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 8 Feb 2019 03:33:50 +0000 (22:33 -0500)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: 121211685
Test: mma -j with lunch aosp_blueline-userdebug

Change-Id: If8cffae8168990a11e8228b9f00d2fee15924935
Signed-off-by: Sandeep Patil <sspatil@google.com>
From AOSP commit: 0393dd541c79dfda1475ef071a31215dd2811162

misc/Android.bp

index ccc4fdb..301ce5d 100644 (file)
@@ -271,3 +271,18 @@ cc_binary {
     ],
     system_shared_libs: ["libc", "libdl"],
 }
+
+//##########################################################################
+// Build filefrag
+
+cc_binary {
+    name: "filefrag",
+    host_supported: true,
+    defaults: ["e2fsprogs-defaults"],
+
+    srcs: ["filefrag.c"],
+    shared_libs: [
+        "libext2fs",
+    ],
+    system_shared_libs: ["libc", "libdl"],
+}