OSDN Git Service

Replace bluetooth protos with protobuf-lite
authorColin Cross <ccross@android.com>
Wed, 26 Oct 2016 21:25:28 +0000 (14:25 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 26 Oct 2016 21:31:32 +0000 (21:31 +0000)
commit9a24711fd21b2bcab7d3ae67d0f34599f1eae4b1
tree4e7c69aff0349f6d3149eb9442bdb04a4ba1cfc5
parent26f21028e2c8538d166a9005dd6d30831059ea05
Replace bluetooth protos with protobuf-lite

Use lite protobufs for bluetooth to remove dependency on
libprotobuf-cpp-full, which will be removed from the platform.

Requires dropping support for
adb shell dumpsys bluetooth_manager --proto-text
which requires full protobufs to call TextToString.  The functionality
can be restored without adding a dependency on full protobufs with a
host protobuf decoder.

Bug: 32417805
Test: builds
Change-Id: Ifc9ee23264b1bfff3ad1f85ef4914f788028971a
btif/src/bluetooth.cc
hci/Android.mk
osi/Android.mk
osi/include/metrics.h
osi/src/metrics.cc
osi/src/metrics_linux.cc
osi/src/protos/bluetooth.proto