Add Android.bp for dependencies of remote_execution.proto
Downstream tooling wants to use remote_execution.proto that depends
on these modules.
Test: m googleapis-operations-java-proto \
googleapis-status-java-proto \
googleapis-annotations-java-proto \
googleapis-http-java-proto \
googleapis-client-java-proto \
googleapis-launch-stage-java-proto
Bug: 335918437
Change-Id: Ie1e42fa7ced64df86a60056555640be9432aec35
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",
+ },
+}