summaryrefslogtreecommitdiff
path: root/squashfs_utils/Android.bp
blob: c4c675c39bc2552f2f89e143dacdcd0ace266c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2015 The Android Open Source Project

cc_library {
    name: "libsquashfs_utils",
    cflags: ["-Werror"],
    host_supported: true,
    recovery_available: true,
    srcs: [
        "squashfs_utils.c",
    ],
    include_dirs: ["external/squashfs-tools/squashfs-tools"],
    export_include_dirs: ["."],

    shared_libs: [
        "libcutils",
    ],

    target: {
        host: {
            cflags: [
                "-Wall",
                "-Werror",
                "-D_GNU_SOURCE",
                "-DSQUASHFS_NO_KLOG",
            ],
        },
    },
}

sh_binary_host {
    name: "mksquashfsimage.sh",
    src: "mksquashfsimage.sh",
    required: [
        "img2simg",
        "mksquashfs",
    ],
}