• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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 {
25    name: "ultrahdr_fuzzer_defaults-deprecated",
26    enabled: false,
27    host_supported: true,
28    shared_libs: [
29        "libimage_io",
30        "libjpeg",
31    ],
32    static_libs: [
33        "libjpegdecoder",
34        "libjpegencoder",
35        "libultrahdr",
36        "libutils",
37        "liblog",
38    ],
39    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",
51        fuzzed_code_usage: "future_version",
52        vector: "local_no_privileges_required",
53    },
54}
55
56cc_fuzz {
57    name: "ultrahdr_enc_fuzzer-deprecated",
58    enabled: false,
59    defaults: ["ultrahdr_fuzzer_defaults"],
60    srcs: [
61        "ultrahdr_enc_fuzzer.cpp",
62    ],
63}
64
65cc_fuzz {
66    name: "ultrahdr_dec_fuzzer-deprecated",
67    enabled: false,
68    defaults: ["ultrahdr_fuzzer_defaults"],
69    srcs: [
70        "ultrahdr_dec_fuzzer.cpp",
71    ],
72}
73