aboutsummaryrefslogtreecommitdiff
path: root/annotation-stubs/Android.bp
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 /annotation-stubs/Android.bp
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 'annotation-stubs/Android.bp')
-rw-r--r--annotation-stubs/Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/annotation-stubs/Android.bp b/annotation-stubs/Android.bp
index 32d177a81..78cb49daa 100644
--- a/annotation-stubs/Android.bp
+++ b/annotation-stubs/Android.bp
@@ -13,11 +13,13 @@
// limitations under the License.
//
-java_library_host {
+java_library {
name: "grpc-java-annotation-stubs",
+ host_supported: true,
srcs: [
":grpc-java-annotation-stubs-srcjar",
],
+ sdk_version: "current",
}
gensrcs {