blob: 5dbcebd8b1dedf021b27cec57d54b9a89ae70d73 [file] [log] [blame]
Mufaddal Chakera253887f2020-12-09 17:17:37 +05301/******************************************************************************
2 *
3 * Copyright (C) 2021 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
Bob Badour56786ac2021-02-25 15:24:36 -080019package {
20 // See: http://go/android-license-faq
21 // A large-scale-change added 'default_applicable_licenses' to import
22 // all of the 'license_kinds' from "frameworks_av_license"
23 // to get the below license kinds:
24 // SPDX-license-identifier-Apache-2.0
25 default_applicable_licenses: ["frameworks_av_license"],
26}
27
Mufaddal Chakera253887f2020-12-09 17:17:37 +053028cc_fuzz {
29 name: "audiopolicy_fuzzer",
30 srcs: [
31 "audiopolicy_fuzzer.cpp",
32 ],
33 include_dirs: [
34 "frameworks/av/services/audiopolicy",
35 ],
36 shared_libs: [
37 "android.hardware.audio.common-util",
38 "capture_state_listener-aidl-cpp",
39 "libaudioclient",
40 "libaudiofoundation",
41 "libbase",
42 "libcutils",
43 "libhidlbase",
44 "libdl",
45 "liblog",
46 "libmedia_helper",
47 "libmediametrics",
48 "libutils",
49 "libxml2",
50 "libbinder",
51 "libaudiopolicy",
52 "libaudiopolicymanagerdefault",
53 ],
54 static_libs: [
55 "android.hardware.audio.common@7.0-enums",
56 "libaudiopolicycomponents",
57 ],
58 header_libs: [
59 "libaudiopolicycommon",
60 "libaudiopolicyengine_interface_headers",
61 "libaudiopolicymanager_interface_headers",
62 ],
63 data: [":audiopolicyfuzzer_configuration_files"],
64}