aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
AgeCommit message (Collapse)Author
2020-11-18Add a lite OkHttp gRPC Client Library.Karl Shaffer
Updates several targets within grpc-grpc-java to allow for Android and Host targets to allow the building of a gRPC client library that uess OkHttp and Protobuf Lite. This provides a lightweight client library for gRPC clients that works on both Android and Host since it uses lite protos rather than full protos. Test: m grpc-java-okhttp-client-lite Test: mm Test: Manual testing using client library on Android. Change-Id: Ib9dc14a44856914b38662c01905337f98bd8d108
2020-06-29Remove gRPC Netty shaded static libraryHadrien Zalek
Remove the build module for the shaded library which causes issues at runtime due to missing symbols. This happens because the jar is prebuilt from an older version of gRPC and is no longer compatible with the current source. Additionally, the grpc-java module should not statically link against a specific transport jar that contains service providers. Doing so forces an automatically-loaded implementation on users. Test: m grpc-java Bug: 148404241 Change-Id: I77589c05756b55146648d726ea6e235f1887ac38
2020-06-29Build the gRPC Java Authentication libraryHadrien Zalek
Add a Soong module to build the gRPC authentication library from source. Test: m grpc-java-auth grpc-java Bug: 148404241 Change-Id: I8afdf8c14773de4c13889016b0bfd8b6da132548
2020-06-03Build the gRPC Java library from sourceHadrien Zalek
Build the library from source since the imported prebuilts are inconsistent and incomplete. For starters, the source is that of version 1.15.0 but the imported jars are those of version 1.14.0. More importantly the grpc-java-protobuf library depends on the grpc-java-protobuf-lite library that is not prebuilt. This causes runtime errors due to missing symbols that should have been caught at compile-time. The Soong build modules follow the upstream Bazel rules as closely as possible. Note that some static libraries were added to the grpc-java to maintain compatibility with other rules that depend on it since the original prebuilt grpc-java-core jar contained all sources under core/ which is not how the library is built using Bazel. Test: m grpc-java Test: Diffed the entries between the old and new jars Bug: 148404241 Change-Id: I060333a68848272d5d9e09c040c1e35451a408c6
2018-10-22Fix grpc-java targetandroid-wear-8.0.0_r2Julien Desprez
Test: make grpc-java Bug: None Change-Id: I55dc3d537c87c7ffc80b23cdec48fa830e9c87db
2018-10-19Add rules for grpc-javaJulien Desprez
Test: make grpc-java Bug: None Change-Id: Ibf9d369637f8cd780c42936c11b4bd67541f1a93