summaryrefslogtreecommitdiff
path: root/verity/fec/Android.bp
blob: 823404b1aff833c8f650a81861dfc358729ac0ec (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
cc_binary_host {
    name: "fec",

    target: {
        linux_glibc: {
            sanitize: {
                misc_undefined: ["integer"],
            },
        },
    },

    srcs: [
        "main.cpp",
        "image.cpp",
    ],

    static_libs: [
        "libsparse",
        "libz",
        "libcrypto_utils",
        "libcrypto",
        "libfec",
        "libfec_rs",
        "libext4_utils",
        "libsquashfs_utils",
    ],
    shared_libs: ["libbase"],
    cflags: [
        "-Wall",
        "-Werror",
        "-O3",
    ],
}