• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "packages/modules/Bluetooth/system",
15        "packages/modules/Bluetooth/system/gd",
16        "packages/modules/Bluetooth/system/bta/include",
17        "packages/modules/Bluetooth/system/bta/sys",
18        "packages/modules/Bluetooth/system/bta/dm",
19        "packages/modules/Bluetooth/system/internal_include",
20        "packages/modules/Bluetooth/system/stack/include",
21        "packages/modules/Bluetooth/system/stack/l2cap",
22        "packages/modules/Bluetooth/system/stack/a2dp",
23        "packages/modules/Bluetooth/system/stack/btm",
24        "packages/modules/Bluetooth/system/stack/avdt",
25        "packages/modules/Bluetooth/system/udrv/include",
26        "packages/modules/Bluetooth/system/btif/include",
27        "packages/modules/Bluetooth/system/btif/co",
28        "packages/modules/Bluetooth/system/vnd/include",
29        "packages/modules/Bluetooth/system/embdrv/sbc/encoder/include",
30        "packages/modules/Bluetooth/system/embdrv/sbc/decoder/include",
31        "packages/modules/Bluetooth/system/utils/include",
32        "system/security/keystore/include",
33        "hardware/interfaces/keymaster/4.0/support/include",
34    ],
35    srcs: [
36        "channel_fuzz_controller.cc",
37        "fuzz_l2cap.cc",
38    ],
39    static_libs: [
40        "libbte",
41    ],
42    fuzz_config: {
43       cc: ["zachoverflow@google.com"],
44    },
45}
46