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
10cc_binary_host {
11    name: "bluetooth_packetgen",
12    srcs: [
13        "checksum_def.cc",
14        "custom_field_def.cc",
15        "enum_def.cc",
16        "enum_gen.cc",
17        "fields/array_field.cc",
18        "fields/body_field.cc",
19        "fields/checksum_field.cc",
20        "fields/checksum_start_field.cc",
21        "fields/count_field.cc",
22        "fields/custom_field.cc",
23        "fields/custom_field_fixed_size.cc",
24        "fields/enum_field.cc",
25        "fields/fixed_enum_field.cc",
26        "fields/fixed_field.cc",
27        "fields/fixed_scalar_field.cc",
28        "fields/group_field.cc",
29        "fields/packet_field.cc",
30        "fields/padding_field.cc",
31        "fields/payload_field.cc",
32        "fields/reserved_field.cc",
33        "fields/scalar_field.cc",
34        "fields/size_field.cc",
35        "fields/struct_field.cc",
36        "fields/variable_length_struct_field.cc",
37        "fields/vector_field.cc",
38        "gen_cpp.cc",
39        "language_l.ll",
40        "language_y.yy",
41        "main.cc",
42        "packet_def.cc",
43        "packet_dependency.cc",
44        "parent_def.cc",
45        "struct_def.cc",
46        "struct_parser_generator.cc",
47    ],
48    yacc: {
49        gen_location_hh: true,
50        gen_position_hh: true,
51    },
52}
53