• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/******************************************************************************
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
19package {
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
28cc_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        "framework-permission-aidl-cpp",
54    ],
55    static_libs: [
56        "android.hardware.audio.common@7.0-enums",
57        "libaudiopolicycomponents",
58    ],
59    header_libs: [
60        "libaudiopolicycommon",
61        "libaudiopolicyengine_interface_headers",
62        "libaudiopolicymanager_interface_headers",
63    ],
64    data: [":audiopolicyfuzzer_configuration_files"],
65}
66