Chethan Kumar R E | 41da503 | 2021-05-28 13:03:20 +0530 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 17 | |
Bob Badour | 9e6ccf8 | 2021-10-14 13:32:57 -0700 | [diff] [blame] | 18 | package { |
| 19 | // See: http://go/android-license-faq |
| 20 | // A large-scale-change added 'default_applicable_licenses' to import |
| 21 | // all of the 'license_kinds' from "frameworks_av_media_libmediaplayerservice_license" |
| 22 | // to get the below license kinds: |
| 23 | // SPDX-license-identifier-Apache-2.0 |
| 24 | default_applicable_licenses: [ |
| 25 | "frameworks_av_media_libmediaplayerservice_license", |
| 26 | ], |
| 27 | } |
| 28 | |
Chethan Kumar R E | 41da503 | 2021-05-28 13:03:20 +0530 | [diff] [blame] | 29 | cc_defaults { |
| 30 | name: "libmediaplayerserviceFuzzer_defaults", |
Chethan Kumar R E | 41da503 | 2021-05-28 13:03:20 +0530 | [diff] [blame] | 31 | static_libs: [ |
| 32 | "libmediaplayerservice", |
| 33 | "liblog", |
| 34 | ], |
| 35 | shared_libs: [ |
| 36 | "framework-permission-aidl-cpp", |
| 37 | "libbinder", |
| 38 | "libcutils", |
| 39 | "libmedia", |
| 40 | "libstagefright", |
| 41 | "libutils", |
| 42 | "libstagefright_foundation", |
| 43 | ], |
| 44 | fuzz_config: { |
| 45 | cc: [ |
| 46 | "android-media-fuzzing-reports@google.com", |
| 47 | ], |
| 48 | componentid: 155276, |
Ayushi Khopkar | 3f34e3a | 2023-03-17 18:16:31 +0530 | [diff] [blame] | 49 | hotlists: [ |
| 50 | "4593311", |
| 51 | ], |
| 52 | description: "The fuzzer targets the APIs of libmediaplayerservice", |
| 53 | vector: "remote", |
| 54 | service_privilege: "privileged", |
| 55 | users: "multi_user", |
| 56 | fuzzed_code_usage: "shipped", |
Chethan Kumar R E | 41da503 | 2021-05-28 13:03:20 +0530 | [diff] [blame] | 57 | }, |
| 58 | } |
| 59 | |
| 60 | cc_fuzz { |
| 61 | name: "mediarecorder_fuzzer", |
| 62 | srcs: [ |
| 63 | "mediarecorder_fuzzer.cpp", |
| 64 | ], |
| 65 | defaults: [ |
| 66 | "libmediaplayerserviceFuzzer_defaults", |
| 67 | ], |
| 68 | static_libs: [ |
| 69 | "libstagefright_rtsp", |
| 70 | "libbase", |
| 71 | ], |
| 72 | shared_libs: [ |
| 73 | "av-types-aidl-cpp", |
| 74 | "media_permission-aidl-cpp", |
| 75 | "libaudioclient_aidl_conversion", |
| 76 | "libandroid_net", |
| 77 | "libcamera_client", |
| 78 | "libgui", |
| 79 | "libmediametrics", |
| 80 | ], |
| 81 | } |
Chethan Kumar R E | 077f819 | 2021-06-09 14:55:59 +0530 | [diff] [blame] | 82 | |
| 83 | cc_fuzz { |
| 84 | name: "metadataretriever_fuzzer", |
| 85 | srcs: [ |
| 86 | "metadataretriever_fuzzer.cpp", |
| 87 | ], |
| 88 | defaults: [ |
| 89 | "libmediaplayerserviceFuzzer_defaults", |
| 90 | ], |
| 91 | static_libs: [ |
| 92 | "libplayerservice_datasource", |
| 93 | ], |
| 94 | shared_libs: [ |
| 95 | "libdatasource", |
| 96 | "libdrmframework", |
| 97 | ], |
| 98 | } |
Chethan Kumar R E | bb0cd95 | 2021-08-02 15:02:52 +0530 | [diff] [blame] | 99 | |
| 100 | cc_fuzz { |
| 101 | name: "mediaplayer_fuzzer", |
| 102 | srcs: [ |
| 103 | "mediaplayer_fuzzer.cpp", |
| 104 | ], |
| 105 | defaults: [ |
| 106 | "libmediaplayerserviceFuzzer_defaults", |
| 107 | ], |
| 108 | static_libs: [ |
| 109 | "libplayerservice_datasource", |
| 110 | "libstagefright_nuplayer", |
| 111 | "libstagefright_rtsp", |
| 112 | "libstagefright_timedtext", |
| 113 | ], |
| 114 | shared_libs: [ |
| 115 | "android.hardware.media.c2@1.0", |
| 116 | "android.hardware.media.omx@1.0", |
| 117 | "av-types-aidl-cpp", |
| 118 | "libaudioclient_aidl_conversion", |
| 119 | "libbase", |
| 120 | "libactivitymanager_aidl", |
| 121 | "libandroid_net", |
| 122 | "libaudioclient", |
| 123 | "libcamera_client", |
| 124 | "libcodec2_client", |
| 125 | "libcrypto", |
| 126 | "libdatasource", |
| 127 | "libdrmframework", |
| 128 | "libgui", |
| 129 | "libhidlbase", |
| 130 | "liblog", |
| 131 | "libmedia_codeclist", |
| 132 | "libmedia_omx", |
| 133 | "libmediadrm", |
| 134 | "libmediametrics", |
| 135 | "libmediautils", |
| 136 | "libmemunreachable", |
| 137 | "libnetd_client", |
| 138 | "libpowermanager", |
| 139 | "libstagefright_httplive", |
| 140 | ], |
| 141 | } |