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