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

Commit 055e6189 authored by Ryan Mitchell's avatar Ryan Mitchell
Browse files

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
parent bc17e4b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ cc_defaults {
        "-Werror",
    ],

    shared_libs: ["libprotoc"],
    static_libs: ["libprotoc"],
}

cc_binary_host {