blob: c3d3995cebee4563a937f7836176c114d4a6ea48 [file] [log] [blame]
Jayant Chowdharyb2e79922017-05-09 19:12:01 -07001// Copyright 2017 The Android Open Source Project
2
Jayant Chowdharyb2e79922017-05-09 19:12:01 -07003cc_library_shared {
4 name: "libf2fs_sparseblock",
Elliott Hughes5f5a8862018-08-27 12:11:07 -07005 cflags: ["-Werror"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -07006
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",
Elliott Hughes5f5a8862018-08-27 12:11:07 -070024 cflags: ["-Werror"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070025
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
Dan Willemsenebab9372019-03-23 13:53:03 -070039sh_binary {
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070040 name: "mkf2fsuserimg.sh",
41
Dan Willemsenebab9372019-03-23 13:53:03 -070042 src: "mkf2fsuserimg.sh",
Jaegeuk Kim1e4263b2017-11-28 19:41:30 -080043 required: ["make_f2fs", "sload_f2fs"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070044 host_supported: true,
45}