aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Desprez <jdesprez@google.com>2018-10-19 15:08:00 -0700
committerJulien Desprez <jdesprez@google.com>2018-10-19 15:08:00 -0700
commit76deef7817e0fbfd025f6f0620551e1e481ac7b9 (patch)
treeba62f0640a07df4130ceeb89b37b44ea3113a95c
parent78b77df0ba9b9a4ed60b20d7eb4d7959e677ad5e (diff)
downloadgrpc-grpc-java-76deef7817e0fbfd025f6f0620551e1e481ac7b9.tar.gz
Add rules for grpc-java
Test: make grpc-java Bug: None Change-Id: Ibf9d369637f8cd780c42936c11b4bd67541f1a93
-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