Mufaddal Chakera | 253887f | 2020-12-09 17:17:37 +0530 | [diff] [blame] | 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 | |
Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 19 | package { |
| 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 Chakera | 253887f | 2020-12-09 17:17:37 +0530 | [diff] [blame] | 28 | cc_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", |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 53 | "media_permission-aidl-cpp", |
Mufaddal Chakera | 253887f | 2020-12-09 17:17:37 +0530 | [diff] [blame] | 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 | } |