Yi Jin b44f7d46b6 This cl implements CommandSection and use it to add procrank.proto Section
Bug: 63863444
Test: manual - create gtests for CommandSection and Procrank Parser following
instructions in the README.md of incidentd and incident_helper on how to
run them.

Change-Id: I099808fd13bf9ed9a564b122f1126b1691a83291
2017-08-02 16:33:17 -07:00

51 lines
772 B
Plaintext

cc_defaults {
name: "incident_helper_defaults",
cflags: [
"-Wall",
"-Werror",
"-g",
"-O0"
],
srcs: [
"IncidentHelper.cpp",
"ih_util.cpp",
],
shared_libs: [
"libbase",
"liblog",
"libprotobuf-cpp-full",
"libutils",
],
static_libs: [
"libplatformprotos",
],
}
cc_binary {
name: "incident_helper",
defaults: ["incident_helper_defaults"],
srcs: ["main.cpp"],
}
cc_test {
name: "incident_helper_test",
defaults: ["incident_helper_defaults"],
srcs: [
"tests/IncidentHelper_test.cpp",
"tests/ih_util_test.cpp",
],
data: [
"testdata/*",
],
static_libs: [
"libgmock",
],
}