• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "smp/enums.proto",
35    ],
36    apex_available: [
37        "com.android.btservices",
38    ],
39    min_sdk_version: "30",
40}
41
42filegroup {
43  name: "srcs_bluetooth_protos",
44  srcs: [
45      "a2dp/enums.proto",
46      "enums.proto",
47      "hci/enums.proto",
48      "hfp/enums.proto",
49      "le/enums.proto",
50      "smp/enums.proto",
51  ],
52}
53
54filegroup {
55  name: "srcs_bluetooth_leaudio_protos",
56  srcs: [
57      "leaudio/enums.proto",
58  ],
59}
60