• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20
21package {
22    // See: http://go/android-license-faq
23    // A large-scale-change added 'default_applicable_licenses' to import
24    // all of the 'license_kinds' from "frameworks_av_services_camera_libcameraservice_license"
25    // to get the below license kinds:
26    //   SPDX-license-identifier-Apache-2.0
27    default_applicable_licenses: [
28        "frameworks_av_services_camera_libcameraservice_license",
29    ],
30}
31
32cc_fuzz {
33    name: "camera_service_fuzzer",
34    srcs: [
35        "camera_service_fuzzer.cpp",
36    ],
37    header_libs: [
38        "libmedia_headers",
39    ],
40    shared_libs: [
41        "libbinder",
42        "libbase",
43        "libutils",
44        "libcutils",
45        "libcameraservice",
46        "libcamera_client",
47        "liblog",
48        "libui",
49        "libgui",
50        "android.hardware.camera.common@1.0",
51        "android.hardware.camera.provider@2.4",
52        "android.hardware.camera.provider@2.5",
53        "android.hardware.camera.provider@2.6",
54        "android.hardware.camera.provider@2.7",
55        "android.hardware.camera.device@1.0",
56        "android.hardware.camera.device@3.2",
57        "android.hardware.camera.device@3.3",
58        "android.hardware.camera.device@3.4",
59        "android.hardware.camera.device@3.5",
60        "android.hardware.camera.device@3.6",
61        "android.hardware.camera.device@3.7",
62    ],
63    fuzz_config: {
64        cc: [
65            "android-media-fuzzing-reports@google.com",
66        ],
67        componentid: 155276,
68    },
69}
70