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 | |
| 19 | cc_fuzz { |
| 20 | name: "audiopolicy_fuzzer", |
| 21 | srcs: [ |
| 22 | "audiopolicy_fuzzer.cpp", |
| 23 | ], |
| 24 | include_dirs: [ |
| 25 | "frameworks/av/services/audiopolicy", |
| 26 | ], |
| 27 | shared_libs: [ |
| 28 | "android.hardware.audio.common-util", |
| 29 | "capture_state_listener-aidl-cpp", |
| 30 | "libaudioclient", |
| 31 | "libaudiofoundation", |
| 32 | "libbase", |
| 33 | "libcutils", |
| 34 | "libhidlbase", |
| 35 | "libdl", |
| 36 | "liblog", |
| 37 | "libmedia_helper", |
| 38 | "libmediametrics", |
| 39 | "libutils", |
| 40 | "libxml2", |
| 41 | "libbinder", |
| 42 | "libaudiopolicy", |
| 43 | "libaudiopolicymanagerdefault", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "android.hardware.audio.common@7.0-enums", |
| 47 | "libaudiopolicycomponents", |
| 48 | ], |
| 49 | header_libs: [ |
| 50 | "libaudiopolicycommon", |
| 51 | "libaudiopolicyengine_interface_headers", |
| 52 | "libaudiopolicymanager_interface_headers", |
| 53 | ], |
| 54 | data: [":audiopolicyfuzzer_configuration_files"], |
| 55 | } |