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_static {
11    name: "lib-bt-packets-avrcp",
12    defaults: ["bluetooth_cflags"],
13    header_libs: ["avrcp_headers"],
14    export_header_lib_headers: ["avrcp_headers"],
15    export_include_dirs: ["."],
16    host_supported: true,
17    include_dirs: [
18        "packages/modules/Bluetooth/system/",
19        "packages/modules/Bluetooth/system/gd",
20        "packages/modules/Bluetooth/system/include",
21    ],
22    srcs: [
23        "avrcp_browse_packet.cc",
24        "avrcp_packet.cc",
25        "avrcp_reject_packet.cc",
26        "capabilities_packet.cc",
27        "change_path.cc",
28        "general_reject_packet.cc",
29        "get_current_player_application_setting_value.cc",
30        "get_element_attributes_packet.cc",
31        "get_folder_items.cc",
32        "get_item_attributes.cc",
33        "get_play_status_packet.cc",
34        "get_total_number_of_items.cc",
35        "list_player_application_setting_attributes.cc",
36        "list_player_application_setting_values.cc",
37        "pass_through_packet.cc",
38        "play_item.cc",
39        "register_notification_packet.cc",
40        "set_absolute_volume.cc",
41        "set_addressed_player.cc",
42        "set_browsed_player.cc",
43        "set_player_application_setting_value.cc",
44        "vendor_packet.cc",
45    ],
46    static_libs: [
47        "lib-bt-packets-base",
48        "libbluetooth_log",
49        "libchrome",
50    ],
51    apex_available: [
52        "com.android.btservices",
53    ],
54    min_sdk_version: "30",
55}
56