blob: 3ea823c209068a78cc4bcad92a32e36d72a00a28 [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",
13 "strutil.cpp",
14 ],
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",
41 ],
42
43 data: [
44 "testdata/*",
45 ],
46
47 static_libs: [
48 "libgmock",
49 ],
50}