blob: 2ef037143f07d0b9cb265b3727841beece6cbe7c [file] [log] [blame]
cc_defaults {
name: "incident_helper_defaults",
cflags: [
"-Wall",
"-Werror",
"-g",
"-O0"
],
local_include_dirs: [
"src/",
"src/parsers/",
],
srcs: [
"src/parsers/*.cpp",
"src/TextParserBase.cpp",
"src/ih_util.cpp",
],
generated_headers: ["gen-platform-proto-constants"],
shared_libs: [
"libbase",
"liblog",
"libprotoutil",
"libutils",
],
}
cc_binary {
name: "incident_helper",
defaults: ["incident_helper_defaults"],
srcs: ["src/main.cpp"],
}
cc_test {
name: "incident_helper_test",
defaults: ["incident_helper_defaults"],
local_include_dirs: ["src/"],
srcs: [
"tests/*.cpp",
],
data: [
"testdata/*",
],
shared_libs: [
"libprotobuf-cpp-full",
],
static_libs: [
"libgmock",
"libplatformprotos"
],
}