Home | History | Annotate | Download | only in f2fs_utils
      1 // Copyright 2017 The Android Open Source Project
      2 
      3 cc_library_shared {
      4     name: "libf2fs_sparseblock",
      5     defaults: ["system-extras-cflags-defaults"],
      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",
     24     defaults: ["system-extras-cflags-defaults"],
     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 
     39 cc_prebuilt_binary {
     40     name: "mkf2fsuserimg.sh",
     41 
     42     srcs: ["mkf2fsuserimg.sh"],
     43     required: ["make_f2fs", "sload_f2fs"],
     44     host_supported: true,
     45 }
     46