Home | History | Annotate | Download | only in libdiskconfig
      1 cc_library {
      2     name: "libdiskconfig",
      3     vendor_available: true,
      4     vndk: {
      5         enabled: true,
      6     },
      7     srcs: [
      8         "diskconfig.c",
      9         "diskutils.c",
     10         "write_lst.c",
     11         "config_mbr.c",
     12     ],
     13 
     14     shared_libs: [
     15         "libcutils",
     16         "liblog",
     17     ],
     18     cflags: ["-Werror"],
     19     export_include_dirs: ["include"],
     20     local_include_dirs: ["include"],
     21 
     22     target: {
     23         darwin: {
     24             enabled: false,
     25         },
     26         linux_glibc: {
     27             cflags: [
     28                 "-O2",
     29                 "-g",
     30                 "-W",
     31                 "-Wall",
     32                 "-D_LARGEFILE64_SOURCE",
     33             ],
     34         },
     35     },
     36 }
     37