diff options
| author | 2019-09-11 12:09:19 -0700 | |
|---|---|---|
| committer | 2019-09-11 12:09:19 -0700 | |
| commit | 1a1c84d6bc20e315579701b48ca798f813876fa7 (patch) | |
| tree | f846b152b3e9b60cc3411cc988d72a1a2e295412 | |
| parent | 6b1de1743e5b102d447dfd96b789d537d16efcd5 (diff) | |
| parent | 89ee99a00d77a1ab7bd6f3d16172dbcd811b3eb7 (diff) | |
Merge changes from topic "protobuf-3.9.1" am: 2e928fb62a
am: 89ee99a00d
Change-Id: Ibbd3573012345c37a8f52b9826337c094e18aa8b
| -rw-r--r-- | cmds/statsd/Android.bp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp index be268aa214ad..8944dedd6c96 100644 --- a/cmds/statsd/Android.bp +++ b/cmds/statsd/Android.bp @@ -207,6 +207,10 @@ 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", @@ -268,11 +272,11 @@ cc_test { ], proto: { - type: "full", + type: "lite", include_dirs: ["external/protobuf/src"], }, - shared_libs: ["libprotobuf-cpp-full"], + shared_libs: ["libprotobuf-cpp-lite"], } @@ -285,6 +289,10 @@ 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", @@ -299,7 +307,7 @@ cc_benchmark { ], proto: { - type: "full", + type: "lite", include_dirs: ["external/protobuf/src"], }, @@ -321,7 +329,7 @@ cc_benchmark { shared_libs: [ "libgtest_prod", "libstatslog", - "libprotobuf-cpp-full", + "libprotobuf-cpp-lite", ], } |