blob: bfd91b7cdb211d78c56a3be7d88af97be808f45b [file] [log] [blame]
common_CFLAGS = [
"-Wall",
"-Werror",
"-Wshadow",
]
cc_binary_host {
name: "checkpolicy",
cflags: common_CFLAGS,
srcs: [
"policy_parse.y",
"policy_scan.l",
"queue.c",
"module_compiler.c",
"parse_util.c",
"policy_define.c",
"checkpolicy.c",
],
static_libs: ["libsepol"],
}
cc_binary_host {
name: "dispol",
cflags: common_CFLAGS,
srcs: ["test/dispol.c"],
static_libs: ["libsepol"],
}