blob: e27e28ca95559f04b2766f62b0823884bdb24569 [file] [log] [blame]
Jayant Chowdharyb2e79922017-05-09 19:12:01 -07001// Copyright 2017 The Android Open Source Project
2
Bob Badour4e060082021-02-16 18:59:28 -08003package {
4 default_applicable_licenses: ["system_extras_f2fs_utils_license"],
5}
6
7// Added automatically by a large-scale-change
8// See: http://go/android-license-faq
9license {
10 name: "system_extras_f2fs_utils_license",
11 visibility: [":__subpackages__"],
12 license_kinds: [
13 "SPDX-license-identifier-Apache-2.0",
14 ],
15 license_text: [
16 "NOTICE",
17 ],
18}
19
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070020cc_library_shared {
21 name: "libf2fs_sparseblock",
Elliott Hughes5f5a8862018-08-27 12:11:07 -070022 cflags: ["-Werror"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070023
24 srcs: ["f2fs_sparseblock.c"],
25
26 shared_libs: [
27 "liblog",
28 "libcutils",
29 ],
30
31 include_dirs: [
32 "external/f2fs-tools/include",
Jaegeuk Kim412d7e52022-05-18 18:24:14 -070033 "bionic/libc",
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070034 ],
35
ThiƩbaud Weksteen21a99322020-10-23 10:20:33 +020036 export_include_dirs: ["."],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070037}
38
39cc_binary {
40 name: "f2fs_sparseblock",
Elliott Hughes5f5a8862018-08-27 12:11:07 -070041 cflags: ["-Werror"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070042
43 srcs: ["f2fs_sparseblock.c"],
44
45 shared_libs: [
46 "liblog",
47 "libcutils",
48 ],
49
50 include_dirs: [
51 "external/f2fs-tools/include",
Jaegeuk Kim412d7e52022-05-18 18:24:14 -070052 "bionic/libc",
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070053 ],
54}
55
jiajia tang173b0a32022-05-13 11:51:25 +080056sh_binary_host {
Cole Faustf61af982022-09-05 18:33:35 -070057 name: "mkf2fsuserimg",
Dan Willemsenebab9372019-03-23 13:53:03 -070058 src: "mkf2fsuserimg.sh",
ThiƩbaud Weksteen21a99322020-10-23 10:20:33 +020059 required: [
60 "make_f2fs",
61 "sload_f2fs",
62 ],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070063}