summaryrefslogtreecommitdiff
path: root/f2fs_utils/Android.bp
blob: 5315f1a0eda430211f0fe8494266c3440182bb5d (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
38
39
40
41
42
43
// Copyright 2017 The Android Open Source Project

cc_library_shared {
    name: "libf2fs_sparseblock",
    cflags: ["-Werror"],

    srcs: ["f2fs_sparseblock.c"],

    shared_libs: [
        "liblog",
        "libcutils",
    ],

    include_dirs: [
        "external/f2fs-tools/include",
    ],

    export_include_dirs: ["."]
}

cc_binary {
    name: "f2fs_sparseblock",
    cflags: ["-Werror"],

    srcs: ["f2fs_sparseblock.c"],

    shared_libs: [
        "liblog",
        "libcutils",
    ],

    include_dirs: [
        "external/f2fs-tools/include",
    ],
}

sh_binary {
    name: "mkf2fsuserimg.sh",

    src: "mkf2fsuserimg.sh",
    required: ["make_f2fs", "sload_f2fs"],
    host_supported: true,
}