blob: dc74d6d3a3be56fdc669ba716833d24453b626ff [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",
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070033 ],
34
ThiƩbaud Weksteen21a99322020-10-23 10:20:33 +020035 export_include_dirs: ["."],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070036}
37
38cc_binary {
39 name: "f2fs_sparseblock",
Elliott Hughes5f5a8862018-08-27 12:11:07 -070040 cflags: ["-Werror"],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070041
42 srcs: ["f2fs_sparseblock.c"],
43
44 shared_libs: [
45 "liblog",
46 "libcutils",
47 ],
48
49 include_dirs: [
50 "external/f2fs-tools/include",
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070051 ],
52}
53
Dan Willemsenebab9372019-03-23 13:53:03 -070054sh_binary {
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070055 name: "mkf2fsuserimg.sh",
56
Dan Willemsenebab9372019-03-23 13:53:03 -070057 src: "mkf2fsuserimg.sh",
ThiƩbaud Weksteen21a99322020-10-23 10:20:33 +020058 required: [
59 "make_f2fs",
60 "sload_f2fs",
61 ],
Jayant Chowdharyb2e79922017-05-09 19:12:01 -070062 host_supported: true,
63}