1// Copyright 2021 The Pigweed Authors 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); you may not 4// use this file except in compliance with the License. You may obtain a copy of 5// the License at 6// 7// https://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, WITHOUT 11// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12// License for the specific language governing permissions and limitations under 13// the License. 14 15java_library { 16 name: "pw_rpc_java_client", 17 srcs: ["java/main/dev/pigweed/pw_rpc/*.java"], 18 visibility: ["//visibility:public"], 19 static_libs: [ 20 "pw_log_android_java", 21 "pw_rpc_packet_proto_java_lite", 22 ], 23 libs: [ 24 "auto_value_annotations", 25 "guava", 26 "jsr305", 27 "libprotobuf-java-lite", 28 ], 29 plugins: ["auto_value_plugin"], 30 sdk_version: "current", 31} 32 33java_library_static { 34 name: "pw_rpc_packet_proto_java_lite", 35 host_supported: true, 36 proto: { 37 type: "lite", 38 }, 39 srcs: ["internal/packet.proto"], 40 sdk_version: "current", 41} 42 43java_library_static { 44 name: "pw_rpc_echo_proto_java_lite", 45 visibility: ["//visibility:public"], 46 host_supported: true, 47 proto: { 48 type: "lite", 49 }, 50 srcs: ["echo.proto"], 51 sdk_version: "current", 52} 53