1// 2// Copyright (C) 2021 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21cc_library_static { 22 name: "libbt-platform-protos-lite", 23 host_supported: true, 24 proto: { 25 export_proto_headers: true, 26 type: "lite", 27 }, 28 srcs: [ 29 "a2dp/enums.proto", 30 "enums.proto", 31 "hci/enums.proto", 32 "hfp/enums.proto", 33 "le/enums.proto", 34 "rfcomm/enums.proto", 35 "smp/enums.proto", 36 ], 37 apex_available: ["com.android.bt"], 38 min_sdk_version: "30", 39} 40 41filegroup { 42 name: "srcs_bluetooth_protos_nfc", 43 srcs: [ 44 "enums.proto", 45 ], 46} 47 48filegroup { 49 name: "srcs_bluetooth_protos", 50 srcs: [ 51 "a2dp/enums.proto", 52 "enums.proto", 53 "hci/enums.proto", 54 "hfp/enums.proto", 55 "le/enums.proto", 56 "rfcomm/enums.proto", 57 "smp/enums.proto", 58 ], 59} 60 61filegroup { 62 name: "srcs_bluetooth_leaudio_protos", 63 srcs: [ 64 "leaudio/enums.proto", 65 ], 66} 67