Skip to content

Commit

Permalink
libsparse: Add simg2img_static target for host
Browse files Browse the repository at this point in the history
* For extract-tools

Change-Id: I88dd83a79160827d3cea7c510355c7883f409581
  • Loading branch information
chirayudesai authored and Maitreya25 committed Dec 15, 2023
1 parent 558db77 commit acd5571
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions libsparse/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ cc_binary {
cflags: ["-Werror"],
}

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 {
name: "img2simg",
host_supported: true,
Expand Down

0 comments on commit acd5571

Please sign in to comment.