resolv_gold_test: use static linked libprotobuf-cpp-lite
Currently, resolv gold test is using dynamic linked libprotobuf-cpp-full because it needs class TextFormat to convert the human readable protobuf text file to protobuf object. Unfortunately, the libprotobuf-cpp-full raises a linked library compatibility issue and it is prohibited to be static linked. The resolv gold test built from R can't run on Q device. An alternative way is that uses static linked libprotobuf-cpp-lite and pre-convert all pb text files into pb binary files. It helps the test get rid of libprotobuf-cpp-full because class TextFormat is not required any more. Bug: 145176964 Test: atest Merged-In: I3471a54eb1d8afb1d967797f9dfe923cd23c08d7 (cherry picked from commit c69898d2) Change-Id: I8075f647a30a1eea00bdccd189f73bf0d2b67b2b
Loading
Please register or sign in to comment