1cc_library_static { 2 name: "lib-bt-packets", 3 defaults: ["libchrome_support_defaults"], 4 host_supported: true, 5 export_include_dirs: [ 6 "./include", 7 "./", 8 ], 9 whole_static_libs: [ 10 "lib-bt-packets-base", 11 "lib-bt-packets-avrcp", 12 ], 13} 14 15cc_test { 16 name: "net_test_btpackets", 17 defaults: ["fluoride_defaults"], 18 test_suites: ["device-tests"], 19 host_supported: true, 20 local_include_dirs: ["tests"], 21 include_dirs: [ 22 "system/bt/", 23 "system/bt/include", 24 ], 25 srcs: [ 26 "tests/avrcp/avrcp_browse_packet_test.cc", 27 "tests/avrcp/avrcp_packet_test.cc", 28 "tests/avrcp/avrcp_reject_packet_test.cc", 29 "tests/avrcp/change_path_packet_test.cc", 30 "tests/avrcp/general_reject_packet_test.cc", 31 "tests/avrcp/get_capabilities_packet_test.cc", 32 "tests/avrcp/get_element_attributes_packet_test.cc", 33 "tests/avrcp/get_folder_items_packet_test.cc", 34 "tests/avrcp/get_item_attributes_packet_test.cc", 35 "tests/avrcp/get_play_status_packet_test.cc", 36 "tests/avrcp/get_total_number_of_items_packet_test.cc", 37 "tests/avrcp/pass_through_packet_test.cc", 38 "tests/avrcp/play_item_packet_test.cc", 39 "tests/avrcp/register_notification_packet_test.cc", 40 "tests/avrcp/set_absolute_volume_packet_test.cc", 41 "tests/avrcp/set_addressed_player_packet_test.cc", 42 "tests/avrcp/set_browsed_player_packet_test.cc", 43 "tests/avrcp/vendor_packet_test.cc", 44 "tests/base/iterator_test.cc", 45 "tests/base/packet_builder_test.cc", 46 "tests/base/packet_test.cc", 47 ], 48 static_libs: [ 49 "libgmock", 50 "lib-bt-packets", 51 ], 52 cflags: [ 53 "-DBUILDCFG", 54 ], 55} 56