aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryike <yikezh@google.com>2024-04-26 22:04:00 +0000
committeryike <yikezh@google.com>2024-04-26 22:22:25 +0000
commit7c90fdd4de875838b7471ba0e29464c9f166381a (patch)
tree4e713023f8f2fc1bd837474e2335d00f43336146
parent23c813e4284dfa1363ba15099cd72b70ea7c8f09 (diff)
downloadgoogleapis-main.tar.gz
Add Android.bp for dependencies of remote_execution.protoHEADmastermain
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
-rw-r--r--google/api/Android.bp83
-rw-r--r--google/longrunning/Android.bp39
-rw-r--r--google/rpc/Android.bp34
3 files changed, 156 insertions, 0 deletions
diff --git a/google/api/Android.bp b/google/api/Android.bp
new file mode 100644
index 000000000..f385fc277
--- /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 000000000..4e4cfef76
--- /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 000000000..532ed8995
--- /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",
+ },
+}