• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2020 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    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_defaults {
20    name: "evs_fuzz_default",
21
22    defaults: ["android.automotive.evs.manager_defaults"],
23
24    static_libs: [
25        "libevsmanager_static",
26        "libgmock",
27        "libgtest",
28    ],
29
30    shared_libs: [
31        "android.hardware.automotive.evs@1.0",
32        "android.hardware.automotive.evs@1.1",
33        "libbase",
34        "libcamera_metadata",
35        "libcutils",
36        "libhardware",
37        "libhidlbase",
38        "libprocessgroup",
39        "libstatslog",
40        "libsync",
41        "libui",
42        "libutils",
43    ],
44
45    cflags: [
46        "-Wno-unused-parameter",
47    ],
48
49    fuzz_config: {
50        cc: [
51            "changyeon@google.com",
52            "garysungang@google.com",
53            "guodonghu@google.com",
54            "smara@google.com",
55            "zhaomingyin@google.com",
56        ],
57    },
58}
59
60cc_fuzz {
61    name: "evs_halcamera_fuzzer",
62    srcs: [
63        "HalCameraFuzzer.cpp",
64    ],
65    defaults: ["evs_fuzz_default"],
66}
67
68cc_fuzz {
69    name: "evs_virtual_camera_fuzzer",
70    srcs: [
71        "VirtualCameraFuzzer.cpp",
72    ],
73    defaults: ["evs_fuzz_default"],
74}
75
76cc_fuzz {
77    name: "evs_haldisplay_fuzzer",
78    srcs: [
79        "HalDisplayFuzzer.cpp",
80    ],
81    defaults: ["evs_fuzz_default"],
82}
83
84cc_fuzz {
85    name: "evs_enumerator_fuzzer",
86    srcs: [
87        "EnumeratorFuzzer.cpp",
88    ],
89    defaults: ["evs_fuzz_default"],
90}
91