aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadrien Zalek <hzalek@google.com>2020-06-30 19:05:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-30 19:05:16 +0000
commit0b1482d4195bfbea2ada29439dd588a438d76456 (patch)
treea5fdab1fb4756850c10827595f13258d62768d5a
parent5ddc0e62ca5e165062c2ffdfd1d2888e60caee0c (diff)
parentb5cb35def9e3fe0f4f28a787d02e1a1dfaea99b3 (diff)
downloadgrpc-grpc-java-0b1482d4195bfbea2ada29439dd588a438d76456.tar.gz
Build the gRPC Java Authentication library am: 2bf353cc26 am: b5cb35def9
Original change: https://android-review.googlesource.com/c/platform/external/grpc-grpc-java/+/1345182 Change-Id: If6e1365391030c533d38bd6f64898d89cc60efcd
-rw-r--r--Android.bp1
-rw-r--r--auth/Android.bp27
2 files changed, 28 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f7835ef33..37c6c8f2e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -17,6 +17,7 @@
java_library_host {
name: "grpc-java",
static_libs: [
+ "grpc-java-auth",
"grpc-java-context",
"grpc-java-core",
"grpc-java-core-inprocess",
diff --git a/auth/Android.bp b/auth/Android.bp
new file mode 100644
index 000000000..68d08f430
--- /dev/null
+++ b/auth/Android.bp
@@ -0,0 +1,27 @@
+// Copyright (C) 2020 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-auth",
+ srcs: [
+ "src/main/java/io/grpc/auth/*.java",
+ ],
+ libs: [
+ "grpc-java-core",
+ "google-auth-library-credentials-0.13.0",
+ "guava",
+ "jsr305",
+ ],
+}