blob: 053208313b00b0f2a4a342386cd9d139398047e2 [file] [log] [blame]
Yi Jin0a3406f2017-06-22 19:23:11 -07001cc_defaults {
2 name: "incident_helper_defaults",
3
4 cflags: [
5 "-Wall",
6 "-Werror",
7 "-g",
8 "-O0"
9 ],
10
11 srcs: [
12 "IncidentHelper.cpp",
Yi Jinb44f7d42017-07-21 12:12:59 -070013 "ih_util.cpp",
Yi Jin0a3406f2017-06-22 19:23:11 -070014 ],
15
16 shared_libs: [
17 "libbase",
18 "liblog",
19 "libprotobuf-cpp-full",
20 "libutils",
21 ],
22
23 static_libs: [
24 "libplatformprotos",
25 ],
26}
27
28cc_binary {
29 name: "incident_helper",
30 defaults: ["incident_helper_defaults"],
31 srcs: ["main.cpp"],
32}
33
34
35cc_test {
36 name: "incident_helper_test",
37 defaults: ["incident_helper_defaults"],
38
39 srcs: [
40 "tests/IncidentHelper_test.cpp",
Yi Jinb44f7d42017-07-21 12:12:59 -070041 "tests/ih_util_test.cpp",
Yi Jin0a3406f2017-06-22 19:23:11 -070042 ],
43
44 data: [
45 "testdata/*",
46 ],
47
48 static_libs: [
49 "libgmock",
50 ],
51}