Convert statsd_test and statsd_benchmark to proto lite
am: e7908d7b62
Change-Id: Id43ecd7edc87c7e58dc194b7adbf8b48c70b5fc0
This commit is contained in:
@@ -196,6 +196,10 @@ cc_test {
|
|||||||
],
|
],
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
|
// atom_field_options.proto needs field_options.proto, but that is
|
||||||
|
// not included in libprotobuf-cpp-lite, so compile it here.
|
||||||
|
":libprotobuf-internal-protos",
|
||||||
|
|
||||||
"src/atom_field_options.proto",
|
"src/atom_field_options.proto",
|
||||||
"src/atoms.proto",
|
"src/atoms.proto",
|
||||||
"src/stats_log.proto",
|
"src/stats_log.proto",
|
||||||
@@ -245,11 +249,11 @@ cc_test {
|
|||||||
static_libs: ["libgmock"],
|
static_libs: ["libgmock"],
|
||||||
|
|
||||||
proto: {
|
proto: {
|
||||||
type: "full",
|
type: "lite",
|
||||||
include_dirs: ["external/protobuf/src"],
|
include_dirs: ["external/protobuf/src"],
|
||||||
},
|
},
|
||||||
|
|
||||||
shared_libs: ["libprotobuf-cpp-full"],
|
shared_libs: ["libprotobuf-cpp-lite"],
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -262,6 +266,10 @@ cc_benchmark {
|
|||||||
defaults: ["statsd_defaults"],
|
defaults: ["statsd_defaults"],
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
|
// atom_field_options.proto needs field_options.proto, but that is
|
||||||
|
// not included in libprotobuf-cpp-lite, so compile it here.
|
||||||
|
":libprotobuf-internal-protos",
|
||||||
|
|
||||||
"src/atom_field_options.proto",
|
"src/atom_field_options.proto",
|
||||||
"src/atoms.proto",
|
"src/atoms.proto",
|
||||||
"src/stats_log.proto",
|
"src/stats_log.proto",
|
||||||
@@ -276,7 +284,7 @@ cc_benchmark {
|
|||||||
],
|
],
|
||||||
|
|
||||||
proto: {
|
proto: {
|
||||||
type: "full",
|
type: "lite",
|
||||||
include_dirs: ["external/protobuf/src"],
|
include_dirs: ["external/protobuf/src"],
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -294,7 +302,7 @@ cc_benchmark {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libgtest_prod",
|
"libgtest_prod",
|
||||||
"libstatslog",
|
"libstatslog",
|
||||||
"libprotobuf-cpp-full",
|
"libprotobuf-cpp-lite",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user