blob: 8d9132fd4d47de9e0395453130f0a25aa0549ea8 [file] [log] [blame]
Ram Mohan81ca6f82023-04-24 21:31:21 +05301// Copyright 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_native_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_native_license"],
22}
23
24cc_defaults {
Harish Mahendrakar343be5a2023-11-29 06:22:29 +000025 name: "ultrahdr_fuzzer_defaults-deprecated",
26 enabled: false,
Ram Mohan81ca6f82023-04-24 21:31:21 +053027 host_supported: true,
Ram Mohand136b8a2023-06-02 09:06:40 +053028 shared_libs: [
29 "libimage_io",
30 "libjpeg",
31 ],
32 static_libs: [
33 "libjpegdecoder",
34 "libjpegencoder",
35 "libultrahdr",
36 "libutils",
37 "liblog",
38 ],
Ram Mohan81ca6f82023-04-24 21:31:21 +053039 target: {
40 darwin: {
41 enabled: false,
42 },
43 },
44 fuzz_config: {
45 cc: [
46 "android-media-fuzzing-reports@google.com",
47 ],
48 description: "The fuzzers target the APIs of jpeg hdr",
49 service_privilege: "constrained",
50 users: "multi_user",
Ram Mohand136b8a2023-06-02 09:06:40 +053051 fuzzed_code_usage: "future_version",
52 vector: "local_no_privileges_required",
Ram Mohan81ca6f82023-04-24 21:31:21 +053053 },
54}
55
56cc_fuzz {
Harish Mahendrakar343be5a2023-11-29 06:22:29 +000057 name: "ultrahdr_enc_fuzzer-deprecated",
58 enabled: false,
Ram Mohan81ca6f82023-04-24 21:31:21 +053059 defaults: ["ultrahdr_fuzzer_defaults"],
60 srcs: [
61 "ultrahdr_enc_fuzzer.cpp",
62 ],
Ram Mohan81ca6f82023-04-24 21:31:21 +053063}
64
Ram Mohand136b8a2023-06-02 09:06:40 +053065cc_fuzz {
Harish Mahendrakar343be5a2023-11-29 06:22:29 +000066 name: "ultrahdr_dec_fuzzer-deprecated",
67 enabled: false,
Ram Mohand136b8a2023-06-02 09:06:40 +053068 defaults: ["ultrahdr_fuzzer_defaults"],
69 srcs: [
70 "ultrahdr_dec_fuzzer.cpp",
71 ],
72}