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 10genrule { 11 name: "BluetoothPacketParserTestPacketPdlGen_h", 12 tools: [ 13 "bluetooth_packetgen", 14 ], 15 cmd: "$(location bluetooth_packetgen) --include=system/bt/gd --out=$(genDir) $(in)", 16 srcs: [ 17 "test_packets.pdl", 18 "big_endian_test_packets.pdl", 19 ], 20 out: [ 21 "packet/parser/test/test_packets.h", 22 "packet/parser/test/big_endian_test_packets.h", 23 ], 24} 25 26filegroup { 27 name: "BluetoothPacketParserTestPacketTestSources", 28 srcs: [ 29 "generated_packet_test.cc", 30 "six_bytes.cc", 31 "variable.cc", 32 ], 33} 34