Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 1 | // Copyright 2017 The Android Open Source Project |
| 2 | |
Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 3 | cc_library_shared { |
| 4 | name: "libf2fs_sparseblock", |
Elliott Hughes | 5f5a886 | 2018-08-27 12:11:07 -0700 | [diff] [blame] | 5 | cflags: ["-Werror"], |
Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 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 | |
| 22 | cc_binary { |
| 23 | name: "f2fs_sparseblock", |
Elliott Hughes | 5f5a886 | 2018-08-27 12:11:07 -0700 | [diff] [blame] | 24 | cflags: ["-Werror"], |
Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 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 | |
Dan Willemsen | ebab937 | 2019-03-23 13:53:03 -0700 | [diff] [blame^] | 39 | sh_binary { |
Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 40 | name: "mkf2fsuserimg.sh", |
| 41 | |
Dan Willemsen | ebab937 | 2019-03-23 13:53:03 -0700 | [diff] [blame^] | 42 | src: "mkf2fsuserimg.sh", |
Jaegeuk Kim | 1e4263b | 2017-11-28 19:41:30 -0800 | [diff] [blame] | 43 | required: ["make_f2fs", "sload_f2fs"], |
Jayant Chowdhary | b2e7992 | 2017-05-09 19:12:01 -0700 | [diff] [blame] | 44 | host_supported: true, |
| 45 | } |