blob: bfd91b7cdb211d78c56a3be7d88af97be808f45b [file] [log] [blame]
Jeff Vander Stoepc158e002017-05-08 22:22:17 -07001common_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",
Chih-Hung Hsiehf48068e2017-10-12 20:24:01 -070024 cflags: common_CFLAGS,
Jeff Vander Stoepc158e002017-05-08 22:22:17 -070025 srcs: ["test/dispol.c"],
26 static_libs: ["libsepol"],
27}