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) --testing --include=packages/modules/Bluetooth/system/gd --out=$(genDir) $(in)",
    srcs: [
        "test_packets.pdl",
    ],
    out: [
        "packet/parser/test/test_packets.h",
    ],
}

filegroup {
    name: "BluetoothPacketParserTestPacketTestSources",
    srcs: [
        "generated_packet_test.cc",
        "six_bytes.cc",
        "variable.cc",
    ],
}
