1genrule {
2    name: "BluetoothPacketParserTestPacketPdlGen_h",
3    tools: [
4        "bluetooth_packetgen",
5    ],
6    cmd: "$(location bluetooth_packetgen) --include=system/bt/gd --out=$(genDir) $(in)",
7    srcs: [
8        "test_packets.pdl",
9        "big_endian_test_packets.pdl",
10    ],
11    out: [
12        "packet/parser/test/test_packets.h",
13        "packet/parser/test/big_endian_test_packets.h",
14    ],
15}
16
17filegroup {
18    name: "BluetoothPacketParserTestPacketTestSources",
19    srcs: [
20        "generated_packet_test.cc",
21        "six_bytes.cc",
22        "variable.cc",
23    ],
24}
25