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: "libosi_fuzz_alarm",
12    defaults: ["libosi_fuzz_defaults"],
13    host_supported: false,
14    srcs: [
15        "fuzz_alarm.cc",
16    ],
17    shared_libs: [
18        "libbase",
19        "libcutils",
20        "liblog",
21        "libprotobuf-cpp-lite",
22        "libstatssocket",
23    ],
24    static_libs: [
25        "libbluetooth_log",
26        "libbt-common",
27        "libchrome",
28        "libcom.android.sysprop.bluetooth.wrapped",
29        "libgmock",
30        "libosi",
31    ],
32    cflags: [
33        "-Wno-unused-function",
34    ],
35    header_libs: ["libbluetooth_headers"],
36    fuzz_config: {
37        cc: [
38            "[email protected]",
39        ],
40        componentid: 27441,
41        description: "Targets the APIs of libosi",
42        vector: "local_no_privileges_required",
43        service_privilege: "privileged",
44        users: "multi_user",
45        fuzzed_code_usage: "shipped",
46    },
47}
48