aboutsummaryrefslogtreecommitdiff
path: root/context
diff options
context:
space:
mode:
authorKarl Shaffer <karlshaffer@google.com>2020-11-18 15:04:30 -0500
committerKarl Shaffer <karlshaffer@google.com>2020-11-18 16:13:57 -0500
commit8e51fde6c2065d6091b0dbd501fdf080f48c769f (patch)
tree89f5d5958ca0ab30d667070f2c36f1392e9eeab0 /context
parent30a843d392f6f6d5e2b599ffb03c5450b9b7372f (diff)
downloadgrpc-grpc-java-8e51fde6c2065d6091b0dbd501fdf080f48c769f.tar.gz
Add a lite OkHttp gRPC Client Library.
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
Diffstat (limited to 'context')
-rw-r--r--context/Android.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/context/Android.bp b/context/Android.bp
index d7a89b819..410ce78c4 100644
--- a/context/Android.bp
+++ b/context/Android.bp
@@ -14,7 +14,7 @@
//
//
-java_library_static {
+java_library {
name: "grpc-java-context",
host_supported: true,
srcs: [
@@ -25,4 +25,5 @@ java_library_static {
"guava",
"jsr305",
],
+ sdk_version: "current",
}