diff options
author | Hadrien Zalek <hzalek@google.com> | 2020-06-30 21:08:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-06-30 21:08:12 +0000 |
commit | a213f024b8eacf09ea80fd67df69fbd1b60da84c (patch) | |
tree | 877d629852b58dfce26502fb721b140fbb3d0dd8 | |
parent | 5905c8a9402cbffa4e66de528f46d9a97806b476 (diff) | |
parent | 40723413974b1801ac782ffe7b27d873879ba03b (diff) | |
download | grpc-grpc-java-a213f024b8eacf09ea80fd67df69fbd1b60da84c.tar.gz |
Build the gRPC Java OkHttp library from source am: 332041b059 am: c628597f30 am: 4072341397
Original change: https://android-review.googlesource.com/c/platform/external/grpc-grpc-java/+/1345180
Change-Id: Ibf1a3f93b1c8e710bbca7447637708aa5f6c15e8
-rw-r--r-- | okhttp/Android.bp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/okhttp/Android.bp b/okhttp/Android.bp new file mode 100644 index 000000000..8193d9bc4 --- /dev/null +++ b/okhttp/Android.bp @@ -0,0 +1,34 @@ +// Copyright (C) 2018 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +java_library_host { + name: "grpc-java-okhttp", + srcs: [ + "third_party/okhttp/main/java/**/*.java", + "src/main/java/**/*.java", + ], + java_resource_dirs: [ + "src/main/resources", + ], + libs: [ + "grpc-java-core", + "grpc-java-core-internal", + "jsr305", + "guava", + ], + static_libs: [ + "okhttp", + ], +} |