diff options
-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", + ], +} |