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: [
38        "com.android.btservices",
39    ],
40    min_sdk_version: "30",
41}
42
43filegroup {
44  name: "srcs_bluetooth_protos_nfc",
45  srcs: [
46      "enums.proto",
47  ],
48}
49
50filegroup {
51  name: "srcs_bluetooth_protos",
52  srcs: [
53      "a2dp/enums.proto",
54      "enums.proto",
55      "hci/enums.proto",
56      "hfp/enums.proto",
57      "le/enums.proto",
58      "rfcomm/enums.proto",
59      "smp/enums.proto",
60  ],
61}
62
63filegroup {
64  name: "srcs_bluetooth_leaudio_protos",
65  srcs: [
66      "leaudio/enums.proto",
67  ],
68}
69