Make mkbootfs self-contained

Now that mkbootfs is in prebuilt build tools, make it have no dynamic
dependency so that the binary is portable.

Bug: 184490452
Test: Presubmit
Change-Id: Ida4ee9af3c51ba9d163cf9c1e7b7098fd24e0de1
This commit is contained in:
Yi-Yo Chiang 2021-05-02 19:03:00 +08:00
parent 2de90ca526
commit 288f9eec0f

View file

@ -8,7 +8,11 @@ cc_binary_host {
name: "mkbootfs",
srcs: ["mkbootfs.c"],
cflags: ["-Werror"],
shared_libs: ["libcutils"],
static_libs: [
"libbase",
"libcutils",
"liblog",
],
dist: {
targets: ["dist_files"],
},