2017-05-09 07:22:17 +02:00
|
|
|
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",
|
2017-10-13 05:24:01 +02:00
|
|
|
cflags: common_CFLAGS,
|
2017-05-09 07:22:17 +02:00
|
|
|
srcs: ["test/dispol.c"],
|
|
|
|
static_libs: ["libsepol"],
|
|
|
|
}
|