Add Android.bp for dependencies of remote_execution.proto am: 7c90fdd4de am: 91373a2bfb
Original change: https://android-review.googlesource.com/c/platform/external/googleapis/+/3063441
Change-Id: I6f21d7bd29866aa54473e1301d91639532775438
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/google/api/Android.bp b/google/api/Android.bp
new file mode 100644
index 0000000..f385fc2
--- /dev/null
+++ b/google/api/Android.bp
@@ -0,0 +1,83 @@
+// Copyright 2024 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.
+
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+java_library_host {
+ name: "googleapis-annotations-java-proto",
+ srcs: [
+ "annotations.proto",
+ ],
+ static_libs: [
+ "googleapis-http-java-proto",
+ ],
+ libs: [
+ "libprotobuf-java-full",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ "external/protobuf/src",
+ ],
+ type: "full",
+ },
+}
+
+java_library_host {
+ name: "googleapis-http-java-proto",
+ srcs: [
+ "http.proto",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ ],
+ type: "full",
+ },
+}
+
+java_library_host {
+ name: "googleapis-client-java-proto",
+ srcs: [
+ "client.proto",
+ ],
+ static_libs: [
+ "googleapis-launch-stage-java-proto",
+ ],
+ libs: [
+ "libprotobuf-java-full",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ "external/protobuf/src",
+ ],
+ type: "full",
+ },
+}
+
+java_library_host {
+ name: "googleapis-launch-stage-java-proto",
+ srcs: [
+ "launch_stage.proto",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ ],
+ type: "full",
+ },
+}
diff --git a/google/longrunning/Android.bp b/google/longrunning/Android.bp
new file mode 100644
index 0000000..4e4cfef
--- /dev/null
+++ b/google/longrunning/Android.bp
@@ -0,0 +1,39 @@
+// Copyright 2024 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.
+
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+java_library_host {
+ name: "googleapis-operations-java-proto",
+ srcs: [
+ "operations.proto",
+ ],
+ static_libs: [
+ "googleapis-annotations-java-proto",
+ "googleapis-client-java-proto",
+ "googleapis-status-java-proto",
+ ],
+ libs: [
+ "libprotobuf-java-full",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ "external/protobuf/src",
+ ],
+ type: "full",
+ },
+}
diff --git a/google/rpc/Android.bp b/google/rpc/Android.bp
new file mode 100644
index 0000000..532ed89
--- /dev/null
+++ b/google/rpc/Android.bp
@@ -0,0 +1,34 @@
+// Copyright 2024 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.
+
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+java_library_host {
+ name: "googleapis-status-java-proto",
+ srcs: [
+ "status.proto",
+ ],
+ libs: [
+ "libprotobuf-java-full",
+ ],
+ proto: {
+ include_dirs: [
+ "external/googleapis",
+ "external/protobuf/src",
+ ],
+ type: "full",
+ },
+}