1// Copyright (C) 2018 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 { 20 name: "wifi-lite-protos", 21 proto: { 22 type: "lite", 23 }, 24 sdk_version: "system_current", 25 min_sdk_version: "30", 26 srcs: ["src/scorecard.proto"], 27} 28 29java_library { 30 name: "wifi-nano-protos", 31 host_supported: true, 32 proto: { 33 type: "nano", 34 }, 35 srcs: [ 36 "src/metrics.proto", 37 ":system-messages-proto-src", 38 ], 39 sdk_version: "system_current", 40 min_sdk_version: "30", 41 // Pin java_version until jarjar is certified to support later versions. http://b/72703434 42 java_version: "1.8", 43 target: { 44 host: { 45 static_libs: ["libprotobuf-java-nano"], 46 }, 47 }, 48} 49