blob: dd3e3ba904f4420100d9e9f662f97d61b75c30e6 [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",
59 "libaudioflinger",
60 "libaudiofoundation",
61 "libaudiomanager",
62 "libaudiopolicy",
63 "libaudioutils",
64 "libbinder",
65 "libdl",
66 "libmediautils",
67 "libnblog",
68 "libutils",
69 "libxml2",
Jeongik Chaa01ed782021-02-11 09:50:00 +090070 "mediametricsservice-aidl-cpp",
Svet Ganov3e5f14f2021-05-13 22:51:08 +000071 "framework-permission-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053072 ],
73 header_libs: [
74 "libaudiofoundation_headers",
75 "libmedia_headers",
76 ],
77 fuzz_config: {
78 cc: [
79 "android-media-fuzzing-reports@google.com",
80 ],
81 componentid: 155276,
82 },
83}