Home | History | Annotate | Download | only in support
      1 // Copyright 2017 The Android Open Source Project
      2 
      3 cc_library {
      4     name: "libext2_quota",
      5     host_supported: true,
      6     unique_host_soname: true,
      7     srcs: [
      8         "dict.c",
      9         "mkquota.c",
     10         "parse_qtype.c",
     11         "plausible.c",
     12         "profile.c",
     13         "profile_helpers.c",
     14         "prof_err.c",
     15         "quotaio.c",
     16         "quotaio_tree.c",
     17         "quotaio_v2.c",
     18     ],
     19     shared_libs: [
     20         "libext2fs",
     21         "libext2_com_err",
     22         "libext2_blkid",
     23     ],
     24 
     25     cflags: [
     26         "-W",
     27         "-Wall",
     28         "-Wno-macro-redefined",
     29     ],
     30 
     31     header_libs: ["libext2-headers"],
     32     export_include_dirs: ["."],
     33     export_header_lib_headers: ["libext2-headers"],
     34 }
     35 
     36 cc_library_shared {
     37     name: "libext2_profile",
     38     host_supported: true,
     39     unique_host_soname: true,
     40 
     41     srcs: [
     42         "prof_err.c",
     43         "profile.c",
     44     ],
     45     cflags = [
     46         "-W",
     47         "-Wall",
     48     ],
     49     shared_libs: ["libext2_com_err"],
     50 
     51     header_libs: ["libext2-headers"],
     52     export_include_dirs: ["."],
     53     export_header_lib_headers: ["libext2-headers"],
     54 }
     55