1// Copyright 2015 The Android Open Source Project
2
3cc_library {
4    name: "libsquashfs_utils",
5    cflags: ["-Werror"],
6    host_supported: true,
7    recovery_available: true,
8    srcs: [
9        "squashfs_utils.c",
10    ],
11    include_dirs: ["external/squashfs-tools/squashfs-tools"],
12    export_include_dirs: ["."],
13
14    shared_libs: [
15        "libcutils",
16    ],
17
18    target: {
19        host: {
20            cflags: [
21                "-Wall",
22                "-Werror",
23                "-D_GNU_SOURCE",
24                "-DSQUASHFS_NO_KLOG",
25            ],
26        },
27    },
28}
29
30sh_binary_host {
31    name: "mksquashfsimage.sh",
32    src: "mksquashfsimage.sh",
33    required: [
34        "img2simg",
35        "mksquashfs",
36    ],
37}
38