blob: f245a9392677fdd37e547b4e24fb2c1f8d28ec12 [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_bt_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_bt_license"],
}
genrule {
name: "BluetoothPacketParserTestPacketPdlGen_h",
tools: [
"bluetooth_packetgen",
],
cmd: "$(location bluetooth_packetgen) --include=system/bt/gd --out=$(genDir) $(in)",
srcs: [
"test_packets.pdl",
"big_endian_test_packets.pdl",
],
out: [
"packet/parser/test/test_packets.h",
"packet/parser/test/big_endian_test_packets.h",
],
}
filegroup {
name: "BluetoothPacketParserTestPacketTestSources",
srcs: [
"generated_packet_test.cc",
"six_bytes.cc",
"variable.cc",
],
}