summaryrefslogtreecommitdiff
path: root/system/gd/packet/parser/test/Android.bp
blob: e53a9cdc9e8f2887ebccab2794ba34d631ecb813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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=packages/modules/Bluetooth/system/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",
    ],
}