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 host_supported: true, 19 local_include_dirs: ["tests"], 20 srcs: [ 21 "tests/avrcp/avrcp_browse_packet_test.cc", 22 "tests/avrcp/avrcp_packet_test.cc", 23 "tests/avrcp/avrcp_reject_packet_test.cc", 24 "tests/avrcp/change_path_packet_test.cc", 25 "tests/avrcp/general_reject_packet_test.cc", 26 "tests/avrcp/get_capabilities_packet_test.cc", 27 "tests/avrcp/get_element_attributes_packet_test.cc", 28 "tests/avrcp/get_folder_items_packet_test.cc", 29 "tests/avrcp/get_item_attributes_packet_test.cc", 30 "tests/avrcp/get_play_status_packet_test.cc", 31 "tests/avrcp/get_total_number_of_items_packet_test.cc", 32 "tests/avrcp/pass_through_packet_test.cc", 33 "tests/avrcp/play_item_packet_test.cc", 34 "tests/avrcp/register_notification_packet_test.cc", 35 "tests/avrcp/set_absolute_volume_packet_test.cc", 36 "tests/avrcp/set_addressed_player_packet_test.cc", 37 "tests/avrcp/set_browsed_player_packet_test.cc", 38 "tests/avrcp/vendor_packet_test.cc", 39 "tests/base/iterator_test.cc", 40 "tests/base/packet_builder_test.cc", 41 "tests/base/packet_test.cc", 42 ], 43 static_libs: [ 44 "libgmock", 45 "lib-bt-packets", 46 ], 47 cflags: [ 48 "-DBUILDCFG", 49 ], 50} 51