aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Desprez <jdesprez@google.com>2018-10-22 08:40:21 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-10-22 08:40:21 -0700
commitda2c7981e67c0f26995f80e8bc82624a56c4db4b (patch)
treeba62f0640a07df4130ceeb89b37b44ea3113a95c
parent91f0669e7be6465331782d7649c811e2dda40de8 (diff)
parent9b8fa11637786221e04a84134b2a33b5e44ec0e6 (diff)
downloadgrpc-grpc-java-da2c7981e67c0f26995f80e8bc82624a56c4db4b.tar.gz
Add rules for grpc-java am: 76deef7817 am: d3eaec606d
am: 9b8fa11637 Change-Id: I0e66dc03939af25f17225de32cd6bdaa2fc9fe2c
-rw-r--r--Android.bp25
-rw-r--r--netty/shaded/Android.bp22
-rw-r--r--netty/shaded/grpc-netty-shaded-1.14.0.jarbin0 -> 6401211 bytes
-rw-r--r--protobuf/Android.bp22
-rw-r--r--protobuf/grpc-protobuf-1.14.0.jarbin0 -> 4870 bytes
5 files changed, 69 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 000000000..15c5f325a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,25 @@
+// 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",
+ static_libs: [
+ "grpc-java-core",
+ "grpc-java-context",
+ "grpc-java-stub",
+ "grpc-java-netty-shaded",
+ ]
+}
diff --git a/netty/shaded/Android.bp b/netty/shaded/Android.bp
new file mode 100644
index 000000000..346371f1e
--- /dev/null
+++ b/netty/shaded/Android.bp
@@ -0,0 +1,22 @@
+//
+// 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.
+//
+// TODO: Build from source instead
+java_import_host {
+ name: "grpc-java-netty-shaded",
+ jars: [
+ "grpc-netty-shaded-1.14.0.jar",
+ ],
+}
diff --git a/netty/shaded/grpc-netty-shaded-1.14.0.jar b/netty/shaded/grpc-netty-shaded-1.14.0.jar
new file mode 100644
index 000000000..230b7de90
--- /dev/null
+++ b/netty/shaded/grpc-netty-shaded-1.14.0.jar
Binary files differ
diff --git a/protobuf/Android.bp b/protobuf/Android.bp
new file mode 100644
index 000000000..cec1d76aa
--- /dev/null
+++ b/protobuf/Android.bp
@@ -0,0 +1,22 @@
+//
+// 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.
+//
+// TODO: Build from source instead
+java_import_host {
+ name: "grpc-java-protobuf",
+ jars: [
+ "grpc-protobuf-1.14.0.jar",
+ ],
+}
diff --git a/protobuf/grpc-protobuf-1.14.0.jar b/protobuf/grpc-protobuf-1.14.0.jar
new file mode 100644
index 000000000..c9bad6938
--- /dev/null
+++ b/protobuf/grpc-protobuf-1.14.0.jar
Binary files differ