1// Copyright 2017 The Android Open Source Project
2
3cc_library_shared {
4    name: "libf2fs_sparseblock",
5    cflags: ["-Werror"],
6
7    srcs: ["f2fs_sparseblock.c"],
8
9    shared_libs: [
10        "liblog",
11        "libcutils",
12    ],
13
14    include_dirs: [
15        "external/f2fs-tools/include",
16        "system/core/include/log",
17    ],
18
19    export_include_dirs: ["."]
20}
21
22cc_binary {
23    name: "f2fs_sparseblock",
24    cflags: ["-Werror"],
25
26    srcs: ["f2fs_sparseblock.c"],
27
28    shared_libs: [
29        "liblog",
30        "libcutils",
31    ],
32
33    include_dirs: [
34        "external/f2fs-tools/include",
35        "system/core/include/log",
36    ],
37}
38
39sh_binary {
40    name: "mkf2fsuserimg.sh",
41
42    src: "mkf2fsuserimg.sh",
43    required: ["make_f2fs", "sload_f2fs"],
44    host_supported: true,
45}
46