1common_CFLAGS = [ 2 "-Wall", 3 "-Werror", 4 "-Wshadow", 5] 6 7cc_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 22cc_binary_host { 23 name: "dispol", 24 srcs: ["test/dispol.c"], 25 static_libs: ["libsepol"], 26} 27