libsparse: Add simg2img_static target for host

* For extract-tools

Change-Id: I15772394a24c2ff1fdd6eece86548a72a5d4d748
This commit is contained in:
Chirayu Desai 2022-03-17 04:32:31 +05:30 committed by Michael Bestas
parent 3b78dba3f1
commit 99c8fe58cf
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -61,6 +61,23 @@ cc_binary_host {
},
}
cc_binary_host {
name: "simg2img_static",
srcs: [
"simg2img.cpp",
"sparse_crc32.cpp",
],
static_libs: [
"libsparse",
"libz",
"libbase",
],
cflags: ["-Werror"],
stl: "libc++_static",
static_executable: true,
}
cc_binary_host {
name: "img2simg",
srcs: ["img2simg.cpp"],