From 055e6189f9bb8d2edec3e7a968a6c61e2f16e3b4 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Mon, 14 Oct 2019 09:25:39 -0700 Subject: [PATCH] Allow protoc-gen-javastream to build statically protoc-gen-javastream is failing to build for the static_sdk_tools build target. This is because libprotoc is included as a shared library in the protoc-gen-javastream target. Link libprotoc statically to allow for the sdk tools to build. Bug: 142536936 Test: m -j protoc-gen-javastream BUILD_HOST_static=1 Change-Id: I53e1263c774530f36ff16ab8dada3e0e715e63e0 --- tools/streaming_proto/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/streaming_proto/Android.bp b/tools/streaming_proto/Android.bp index 14eead853f507..1390f63248f97 100644 --- a/tools/streaming_proto/Android.bp +++ b/tools/streaming_proto/Android.bp @@ -29,7 +29,7 @@ cc_defaults { "-Werror", ], - shared_libs: ["libprotoc"], + static_libs: ["libprotoc"], } cc_binary_host {