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