liyujie
2025-08-28 d9927380ed7c8366f762049be9f3fee225860833
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
44
45
// 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",
        "system/core/include/log",
    ],
 
    export_include_dirs: ["."]
}
 
cc_binary {
    name: "f2fs_sparseblock",
    cflags: ["-Werror"],
 
    srcs: ["f2fs_sparseblock.c"],
 
    shared_libs: [
        "liblog",
        "libcutils",
    ],
 
    include_dirs: [
        "external/f2fs-tools/include",
        "system/core/include/log",
    ],
}
 
sh_binary {
    name: "mkf2fsuserimg.sh",
 
    src: "mkf2fsuserimg.sh",
    required: ["make_f2fs", "sload_f2fs"],
    host_supported: true,
}