blob: cb063af2f614e48ddeeb55370b18c14fed311765 [file] [log] [blame]
Ayushi Khopkar47f75cb02020-10-30 19:55:42 +05301/******************************************************************************
2 *
3 * Copyright (C) 2020 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *****************************************************************************
18 */
19
Bob Badour3c538232021-02-12 21:26:48 -080020package {
21 // See: http://go/android-license-faq
22 // A large-scale-change added 'default_applicable_licenses' to import
23 // all of the 'license_kinds' from "frameworks_native_license"
24 // to get the below license kinds:
25 // SPDX-license-identifier-Apache-2.0
26 default_applicable_licenses: ["frameworks_native_license"],
27}
28
Ayushi Khopkar47f75cb02020-10-30 19:55:42 +053029cc_fuzz {
30 name: "vibrator_fuzzer",
31
32 host_supported: true,
33
34 srcs: [
35 "vibrator_fuzzer.cpp",
36 ],
37
38 static_libs: [
39 "liblog",
40 "libvibrator",
41 ],
42
43 shared_libs: [
44 "libbinder",
45 "libbase",
46 "libutils",
47 ],
48
49 fuzz_config: {
Ayushi Khopkar9b11c682023-03-17 10:42:46 +053050 cc: [
51 "android-haptics@google.com",
52 ],
53 componentid: 345036,
54 hotlists: [
55 "4593311",
56 ],
57 description: "The fuzzer targets the APIs of libvibrator",
58 vector: "local_no_privileges_required",
59 service_privilege: "privileged",
60 users: "multi_user",
61 fuzzed_code_usage: "shipped",
Ayushi Khopkar47f75cb02020-10-30 19:55:42 +053062 },
63}