From 47046b80d25096b9b1aa822044b76a6cab054e6f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Sun, 4 Nov 2018 17:24:15 -0800 Subject: [PATCH] Revert "Convert statsd_test and statsd_benchmark to proto lite" This reverts commit e7908d7b624591c4cae55e66f5e603d061addd8f. Change-Id: I585991ab1d5b35930bee6e32b82714aa11fbcb41 --- cmds/statsd/Android.bp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp index ef631611647ba..5c3d17e305859 100644 --- a/cmds/statsd/Android.bp +++ b/cmds/statsd/Android.bp @@ -196,10 +196,6 @@ cc_test { ], 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/atoms.proto", "src/stats_log.proto", @@ -249,11 +245,11 @@ cc_test { static_libs: ["libgmock"], proto: { - type: "lite", + type: "full", include_dirs: ["external/protobuf/src"], }, - shared_libs: ["libprotobuf-cpp-lite"], + shared_libs: ["libprotobuf-cpp-full"], } @@ -266,10 +262,6 @@ cc_benchmark { defaults: ["statsd_defaults"], 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/atoms.proto", "src/stats_log.proto", @@ -284,7 +276,7 @@ cc_benchmark { ], proto: { - type: "lite", + type: "full", include_dirs: ["external/protobuf/src"], }, @@ -302,7 +294,7 @@ cc_benchmark { shared_libs: [ "libgtest_prod", "libstatslog", - "libprotobuf-cpp-lite", + "libprotobuf-cpp-full", ], }