1*e07d83d3SAndroid Build Coastguard Worker# Copyright 2017 The gRPC Authors 2*e07d83d3SAndroid Build Coastguard Worker# 3*e07d83d3SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*e07d83d3SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*e07d83d3SAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*e07d83d3SAndroid Build Coastguard Worker# 7*e07d83d3SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*e07d83d3SAndroid Build Coastguard Worker# 9*e07d83d3SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*e07d83d3SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*e07d83d3SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*e07d83d3SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*e07d83d3SAndroid Build Coastguard Worker# limitations under the License. 14*e07d83d3SAndroid Build Coastguard Worker 15*e07d83d3SAndroid Build Coastguard Workerload(":java_grpc_library.bzl", "java_grpc_library") 16*e07d83d3SAndroid Build Coastguard Worker 17*e07d83d3SAndroid Build Coastguard Workerjava_proto_library( 18*e07d83d3SAndroid Build Coastguard Worker name = "api_proto_java", 19*e07d83d3SAndroid Build Coastguard Worker deps = ["@com_google_protobuf//:api_proto"], 20*e07d83d3SAndroid Build Coastguard Worker) 21*e07d83d3SAndroid Build Coastguard Worker 22*e07d83d3SAndroid Build Coastguard Workerjava_grpc_library( 23*e07d83d3SAndroid Build Coastguard Worker name = "java_grpc_library__external_repo_test", 24*e07d83d3SAndroid Build Coastguard Worker srcs = ["@com_google_protobuf//:api_proto"], 25*e07d83d3SAndroid Build Coastguard Worker deps = [":api_proto_java"], 26*e07d83d3SAndroid Build Coastguard Worker) 27*e07d83d3SAndroid Build Coastguard Worker 28*e07d83d3SAndroid Build Coastguard Workerjava_library( 29*e07d83d3SAndroid Build Coastguard Worker name = "java_grpc_library_deps__do_not_reference", 30*e07d83d3SAndroid Build Coastguard Worker visibility = ["//visibility:public"], 31*e07d83d3SAndroid Build Coastguard Worker exports = [ 32*e07d83d3SAndroid Build Coastguard Worker "//api", 33*e07d83d3SAndroid Build Coastguard Worker "//protobuf", 34*e07d83d3SAndroid Build Coastguard Worker "//stub", 35*e07d83d3SAndroid Build Coastguard Worker "//stub:javax_annotation", 36*e07d83d3SAndroid Build Coastguard Worker "@com_google_code_findbugs_jsr305//jar", 37*e07d83d3SAndroid Build Coastguard Worker "@com_google_guava_guava//jar", 38*e07d83d3SAndroid Build Coastguard Worker "@com_google_protobuf//:protobuf_java", 39*e07d83d3SAndroid Build Coastguard Worker ], 40*e07d83d3SAndroid Build Coastguard Worker) 41*e07d83d3SAndroid Build Coastguard Worker 42*e07d83d3SAndroid Build Coastguard Workerjava_library( 43*e07d83d3SAndroid Build Coastguard Worker name = "java_lite_grpc_library_deps__do_not_reference", 44*e07d83d3SAndroid Build Coastguard Worker visibility = ["//visibility:public"], 45*e07d83d3SAndroid Build Coastguard Worker exports = [ 46*e07d83d3SAndroid Build Coastguard Worker "//api", 47*e07d83d3SAndroid Build Coastguard Worker "//protobuf-lite", 48*e07d83d3SAndroid Build Coastguard Worker "//stub", 49*e07d83d3SAndroid Build Coastguard Worker "//stub:javax_annotation", 50*e07d83d3SAndroid Build Coastguard Worker "@com_google_code_findbugs_jsr305//jar", 51*e07d83d3SAndroid Build Coastguard Worker "@com_google_guava_guava//jar", 52*e07d83d3SAndroid Build Coastguard Worker ], 53*e07d83d3SAndroid Build Coastguard Worker) 54*e07d83d3SAndroid Build Coastguard Worker 55*e07d83d3SAndroid Build Coastguard Workerjava_plugin( 56*e07d83d3SAndroid Build Coastguard Worker name = "auto_value", 57*e07d83d3SAndroid Build Coastguard Worker generates_api = 1, 58*e07d83d3SAndroid Build Coastguard Worker processor_class = "com.google.auto.value.processor.AutoValueProcessor", 59*e07d83d3SAndroid Build Coastguard Worker deps = ["@com_google_auto_value_auto_value//jar"], 60*e07d83d3SAndroid Build Coastguard Worker) 61*e07d83d3SAndroid Build Coastguard Worker 62*e07d83d3SAndroid Build Coastguard Workerjava_library( 63*e07d83d3SAndroid Build Coastguard Worker name = "auto_value_annotations", 64*e07d83d3SAndroid Build Coastguard Worker exported_plugins = [":auto_value"], 65*e07d83d3SAndroid Build Coastguard Worker neverlink = 1, 66*e07d83d3SAndroid Build Coastguard Worker visibility = ["//:__subpackages__"], 67*e07d83d3SAndroid Build Coastguard Worker exports = [ 68*e07d83d3SAndroid Build Coastguard Worker "@com_google_auto_value_auto_value_annotations//jar", 69*e07d83d3SAndroid Build Coastguard Worker "@org_apache_tomcat_annotations_api//jar", # @Generated for Java 9+ 70*e07d83d3SAndroid Build Coastguard Worker ], 71*e07d83d3SAndroid Build Coastguard Worker) 72