1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10cc_library_headers {
11    name: "avrcp_headers",
12    export_include_dirs: ["./hardware/avrcp/"],
13    header_libs: ["internal_include_headers"],
14    export_header_lib_headers: ["internal_include_headers"],
15
16    // We need this in case some file outside of the Bluetooth project includes
17    // bluetooth.h but doesn't include libchrome which avrcp.h depends on.
18    static_libs: ["libchrome"],
19    export_static_lib_headers: ["libchrome"],
20
21    vendor_available: true,
22    host_supported: true,
23    apex_available: [
24        "//apex_available:platform",
25        "com.android.btservices",
26    ],
27    min_sdk_version: "30",
28}
29
30cc_library_headers {
31    name: "libbluetooth_headers",
32    visibility: [
33        "//packages/apps/Test/connectivity/sl4n",
34        "//packages/modules/Bluetooth:__subpackages__",
35        "//vendor:__subpackages__",
36    ],
37    header_libs: [
38        "aics_headers",
39        "avrcp_headers",
40        "libbluetooth-types-header",
41        "libbtcore_headers",
42    ],
43    export_header_lib_headers: [
44        "aics_headers",
45        "avrcp_headers",
46        "libbluetooth-types-header",
47        "libbtcore_headers",
48    ],
49    export_include_dirs: ["./"],
50    vendor_available: true,
51    host_supported: true,
52    apex_available: [
53        "//apex_available:platform",
54        "com.android.btservices",
55    ],
56    min_sdk_version: "30",
57}
58