blob: 21e25b9e8168cdf8c989c62ef26f4d56b699b2b5 [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",
28 srcs: [
29 "audioflinger_fuzzer.cpp",
30 ],
31 static_libs: [
32 "android.hardware.audio.common@7.0-enums",
Jeongik Chaa01ed782021-02-11 09:50:00 +090033 "effect-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053034 "libaudioclient",
35 "libbase",
36 "libcgrouprc",
37 "libcgrouprc_format",
38 "libcutils",
39 "libjsoncpp",
40 "liblog",
41 "libmediametrics",
42 "libmediametricsservice",
43 "libmedia_helper",
44 "libprocessgroup",
Jeongik Chaa01ed782021-02-11 09:50:00 +090045 "shared-file-region-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053046 ],
47 shared_libs: [
48 "android.hardware.audio.common-util",
Jeongik Chaa01ed782021-02-11 09:50:00 +090049 "audioclient-types-aidl-cpp",
50 "audioflinger-aidl-cpp",
51 "audiopolicy-aidl-cpp",
52 "audiopolicy-types-aidl-cpp",
53 "av-types-aidl-cpp",
54 "capture_state_listener-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053055 "libaudioclient_aidl_conversion",
56 "libaudioflinger",
57 "libaudiofoundation",
58 "libaudiomanager",
59 "libaudiopolicy",
60 "libaudioutils",
61 "libbinder",
62 "libdl",
63 "libmediautils",
64 "libnblog",
65 "libutils",
66 "libxml2",
Jeongik Chaa01ed782021-02-11 09:50:00 +090067 "mediametricsservice-aidl-cpp",
Philip P. Moltmannbda45752020-07-17 16:41:18 -070068 "media_permission-aidl-cpp",
Ayushi Khopkar0d0cba22021-01-06 15:41:22 +053069 ],
70 header_libs: [
71 "libaudiofoundation_headers",
72 "libmedia_headers",
73 ],
74 fuzz_config: {
75 cc: [
76 "android-media-fuzzing-reports@google.com",
77 ],
78 componentid: 155276,
79 },
80}