Home | History | Annotate | Download | only in checkpolicy
      1 common_CFLAGS = [
      2     "-Wall",
      3     "-Werror",
      4     "-Wshadow",
      5 ]
      6 
      7 cc_binary_host {
      8     name: "checkpolicy",
      9     cflags: common_CFLAGS,
     10     srcs: [
     11         "policy_parse.y",
     12         "policy_scan.l",
     13         "queue.c",
     14         "module_compiler.c",
     15         "parse_util.c",
     16         "policy_define.c",
     17         "checkpolicy.c",
     18     ],
     19     static_libs: ["libsepol"],
     20 }
     21 
     22 cc_binary_host {
     23     name: "dispol",
     24     cflags: common_CFLAGS,
     25     srcs: ["test/dispol.c"],
     26     static_libs: ["libsepol"],
     27 }
     28