Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 0bd6d8ff authored by Chirayu Desai's avatar Chirayu Desai Committed by Michael Bestas
Browse files

libsparse: Add simg2img_static target for host

* For extract-tools

Change-Id: I15772394a24c2ff1fdd6eece86548a72a5d4d748
parent daa3be9d
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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,