blob: fd3b0a842cfa92235ab60c0831f0634791e8d7e0 [file] [log] [blame]
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +05301/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Bob Badour56786ac2021-02-25 15:24:36 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "frameworks_av_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["frameworks_av_license"],
24}
25
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053026cc_fuzz {
27 name: "audioflinger_fuzzer",
Lorena Torres-Huerta81329892022-08-12 23:08:12 +000028 defaults: [
29 "latest_android_media_audio_common_types_cpp_shared",
30 ],
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053031 srcs: [
32 "audioflinger_fuzzer.cpp",
33 ],
34 static_libs: [
35 "android.hardware.audio.common@7.0-enums",
Jeongik Chaa01ed782021-02-11 09:50:00 +090036 "effect-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053037 "libaudioclient",
38 "libbase",
39 "libcgrouprc",
40 "libcgrouprc_format",
41 "libcutils",
42 "libjsoncpp",
43 "liblog",
44 "libmediametrics",
45 "libmediametricsservice",
46 "libmedia_helper",
47 "libprocessgroup",
Jeongik Chaa01ed782021-02-11 09:50:00 +090048 "shared-file-region-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053049 ],
50 shared_libs: [
51 "android.hardware.audio.common-util",
Jeongik Chaa01ed782021-02-11 09:50:00 +090052 "audioclient-types-aidl-cpp",
53 "audioflinger-aidl-cpp",
54 "audiopolicy-aidl-cpp",
55 "audiopolicy-types-aidl-cpp",
56 "av-types-aidl-cpp",
57 "capture_state_listener-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053058 "libaudioclient_aidl_conversion",
Shunkai Yao51202502022-12-12 06:11:46 +000059 "libaudio_aidl_conversion_common_cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053060 "libaudioflinger",
61 "libaudiofoundation",
62 "libaudiomanager",
63 "libaudiopolicy",
64 "libaudioutils",
65 "libbinder",
66 "libdl",
67 "libmediautils",
68 "libnblog",
69 "libutils",
70 "libxml2",
Jeongik Chaa01ed782021-02-11 09:50:00 +090071 "mediametricsservice-aidl-cpp",
Svet Ganov3e5f14f2021-05-13 22:51:08 +000072 "framework-permission-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053073 ],
74 header_libs: [
75 "libaudiofoundation_headers",
76 "libmedia_headers",
77 ],
78 fuzz_config: {
79 cc: [
Harish Mahendrakarc14d8932023-10-04 18:09:01 +000080 "android-audio-fuzzing-reports@google.com",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053081 ],
82 componentid: 155276,
Ayushi Khopkar184945f2023-03-17 18:06:39 +053083 hotlists: [
84 "4593311",
85 ],
86 description: "The fuzzer targets the APIs of libaudioflinger",
87 vector: "local_no_privileges_required",
88 service_privilege: "privileged",
89 users: "multi_user",
90 fuzzed_code_usage: "shipped",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053091 },
92}