1// Copyright 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19java_library_host { 20 name: "googleapis-annotations-java-proto", 21 srcs: [ 22 "annotations.proto", 23 ], 24 static_libs: [ 25 "googleapis-http-java-proto", 26 ], 27 libs: [ 28 "libprotobuf-java-full", 29 ], 30 proto: { 31 include_dirs: [ 32 "external/googleapis", 33 "external/protobuf/src", 34 ], 35 type: "full", 36 }, 37 // TODO(b/339514031): Unpin tradefed dependencies to Java 11. 38 java_version: "11", 39} 40 41java_library_host { 42 name: "googleapis-http-java-proto", 43 srcs: [ 44 "http.proto", 45 ], 46 proto: { 47 include_dirs: [ 48 "external/googleapis", 49 ], 50 type: "full", 51 }, 52 // TODO(b/339514031): Unpin tradefed dependencies to Java 11. 53 java_version: "11", 54} 55 56java_library_host { 57 name: "googleapis-client-java-proto", 58 srcs: [ 59 "client.proto", 60 ], 61 static_libs: [ 62 "googleapis-launch-stage-java-proto", 63 ], 64 libs: [ 65 "libprotobuf-java-full", 66 ], 67 proto: { 68 include_dirs: [ 69 "external/googleapis", 70 "external/protobuf/src", 71 ], 72 type: "full", 73 }, 74 // TODO(b/339514031): Unpin tradefed dependencies to Java 11. 75 java_version: "11", 76} 77 78java_library_host { 79 name: "googleapis-launch-stage-java-proto", 80 srcs: [ 81 "launch_stage.proto", 82 ], 83 proto: { 84 include_dirs: [ 85 "external/googleapis", 86 ], 87 type: "full", 88 }, 89 // TODO(b/339514031): Unpin tradefed dependencies to Java 11. 90 java_version: "11", 91} 92 93java_library_host { 94 name: "googleapis-field-behavior-java-proto", 95 srcs: [ 96 "field_behavior.proto", 97 ], 98 proto: { 99 include_dirs: [ 100 "external/googleapis", 101 "external/protobuf/src", 102 ], 103 type: "full", 104 }, 105 // TODO(b/339514031): Unpin tradefed dependencies to Java 11. 106 java_version: "11", 107} 108