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_blkid",
     22     ],
     23 
     24     target: {
     25         windows: {
     26             enabled: true
     27         },
     28     },
     29 
     30     cflags: [
     31         "-W",
     32         "-Wall",
     33         "-Wno-macro-redefined",
     34     ],
     35 
     36     header_libs: ["libext2-headers"],
     37     export_include_dirs: ["."],
     38     export_header_lib_headers: ["libext2-headers"],
     39 }
     40 
     41 cc_library_shared {
     42     name: "libext2_profile",
     43     host_supported: true,
     44     unique_host_soname: true,
     45 
     46     srcs: [
     47         "prof_err.c",
     48         "profile.c",
     49     ],
     50     cflags = [
     51         "-W",
     52         "-Wall",
     53     ],
     54     shared_libs: ["libext2_com_err"],
     55 
     56     header_libs: ["libext2-headers"],
     57     export_include_dirs: ["."],
     58     export_header_lib_headers: ["libext2-headers"],
     59 }
     60