diff options
author | Julien Desprez <jdesprez@google.com> | 2018-10-04 11:16:24 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-04 11:16:24 -0700 |
commit | 78b77df0ba9b9a4ed60b20d7eb4d7959e677ad5e (patch) | |
tree | c3f987e532efe459e6484cff173c13531f947181 | |
parent | c19c7d7025ecae0c9d01dea16a076d18aa13fe6b (diff) | |
parent | af14f34438385fd3e31abcc05ddf5ef0126b08ca (diff) | |
download | grpc-grpc-java-78b77df0ba9b9a4ed60b20d7eb4d7959e677ad5e.tar.gz |
Start adding Soong build files for grpc-grpc-java
am: af14f34438
Change-Id: Ic06f167ff2add3cd4629a2cb4bc4c7d7c39fda15
-rw-r--r-- | context/Android.bp | 28 | ||||
-rw-r--r-- | core/Android.bp | 31 | ||||
-rw-r--r-- | protobuf-lite/Android.bp | 29 | ||||
-rw-r--r-- | stub/Android.bp | 29 |
4 files changed, 117 insertions, 0 deletions
diff --git a/context/Android.bp b/context/Android.bp new file mode 100644 index 000000000..d7a89b819 --- /dev/null +++ b/context/Android.bp @@ -0,0 +1,28 @@ +// 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_static { + name: "grpc-java-context", + host_supported: true, + srcs: [ + "src/main/java/**/*.java", + ], + libs: [ + "error_prone_annotations", + "guava", + "jsr305", + ], +} diff --git a/core/Android.bp b/core/Android.bp new file mode 100644 index 000000000..32623fefa --- /dev/null +++ b/core/Android.bp @@ -0,0 +1,31 @@ +// 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_static { + name: "grpc-java-core", + host_supported: true, + srcs: [ + "src/main/java/io/grpc/*.java", + ], + java_resource_dirs: [ + "core/src/main/resources", + ], + libs: [ + "grpc-java-context", + "guava", + "jsr305", + ], +} diff --git a/protobuf-lite/Android.bp b/protobuf-lite/Android.bp new file mode 100644 index 000000000..64ce02d2d --- /dev/null +++ b/protobuf-lite/Android.bp @@ -0,0 +1,29 @@ +// 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 { + name: "grpc-java-protobuf-lite", + host_supported: true, + srcs: [ + "src/main/java/**/*.java", + ], + libs: [ + "grpc-java-core", + "guava", + "jsr305", + "libprotobuf-java-lite", + ], +} diff --git a/stub/Android.bp b/stub/Android.bp new file mode 100644 index 000000000..7d8897109 --- /dev/null +++ b/stub/Android.bp @@ -0,0 +1,29 @@ +// 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_static { + name: "grpc-java-stub", + host_supported: true, + srcs: [ + "src/main/java/**/*.java", + ], + libs: [ + "grpc-java-context", + "grpc-java-core", + "guava", + "jsr305", + ], +} |