Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c715497 authored by Colin Cross's avatar Colin Cross
Browse files

Install vendorcompat verison of protobuf

Some prebuilt vendor modules contain references to
libprotobuf-cpp-*.so, but the interface is not stable.  Upgrading
protobuf would cause those modules to fail, so the vendor version
of the new protobuf library is renamed to libprotobuf-cpp-*-3.9.1.so.
Manually install old libprotobuf-cpp-*.so files to /vendor
to avoid breaking products that have prebuilts that reference them.

Once the new version of protobuf is in each product can be
inspected for references to libprotobuf-cpp-*.so on /vendor and
these packages can be included only on those devices that need
them.

Bug: 117607748
Test: m checkbuild
Change-Id: I8ac955eb703e3faf22ff930c59b30385f374ad0a
Merged-In: I8ac955eb703e3faf22ff930c59b30385f374ad0a
parent 521d4454
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -75,3 +75,7 @@ PRODUCT_PACKAGES += \
# VINTF data for vendor image
PRODUCT_PACKAGES += \
    device_compatibility_matrix.xml \

PRODUCT_PACKAGES += \
    libprotobuf-cpp-lite-vendorcompat \
    libprotobuf-cpp-full-vendorcompat \