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_fuzz {
11    name: "bluetooth_gd_l2cap_fuzzer",
12    defaults: ["gd_fuzz_defaults"],
13    include_dirs: [
14        "system/bt",
15        "system/bt/gd",
16        "system/bt/bta/include",
17        "system/bt/bta/sys",
18        "system/bt/bta/dm",
19        "system/bt/btcore/include",
20        "system/bt/internal_include",
21        "system/bt/stack/include",
22        "system/bt/stack/l2cap",
23        "system/bt/stack/a2dp",
24        "system/bt/stack/btm",
25        "system/bt/stack/avdt",
26        "system/bt/udrv/include",
27        "system/bt/btif/include",
28        "system/bt/btif/co",
29        "system/bt/hci/include",
30        "system/bt/vnd/include",
31        "system/bt/embdrv/sbc/encoder/include",
32        "system/bt/embdrv/sbc/decoder/include",
33        "system/bt/utils/include",
34        "system/security/keystore/include",
35        "hardware/interfaces/keymaster/4.0/support/include",
36    ],
37    srcs: [
38        "channel_fuzz_controller.cc",
39        "fuzz_l2cap.cc",
40    ],
41    static_libs: [
42        "libbte",
43    ],
44}
45