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 Change-Id: Id35bd71eb427c09af47ab871e1ad3bef1d1eb9a1
Loading
Please register or sign in to comment