1//
2// Copyright (C) 2019 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
17package {
18    default_team: "trendy_team_automotive",
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 "hardware_interfaces_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_fuzz {
28    host_supported: true,
29    name: "FormatConvertFuzzer_copyNV21toRGB32",
30    srcs: [
31        "FormatConvertFuzzer.cpp",
32    ],
33    static_libs: [
34        "android.hardware.automotive.evs@common-default-lib",
35    ],
36    cflags: [
37        "-DCOPY_NV21_TO_RGB32",
38    ],
39}
40
41cc_fuzz {
42    host_supported: true,
43    name: "FormatConvertFuzzer_copyNV21toBGR32",
44    srcs: [
45        "FormatConvertFuzzer.cpp",
46    ],
47    static_libs: [
48        "android.hardware.automotive.evs@common-default-lib",
49    ],
50    cflags: [
51        "-DCOPY_NV21_TO_BGR32",
52    ],
53}
54
55cc_fuzz {
56    host_supported: true,
57    name: "FormatConvertFuzzer_copyYV12toRGB32",
58    srcs: [
59        "FormatConvertFuzzer.cpp",
60    ],
61    static_libs: [
62        "android.hardware.automotive.evs@common-default-lib",
63    ],
64    cflags: [
65        "-DCOPY_YV12_TO_RGB32",
66    ],
67}
68
69cc_fuzz {
70    host_supported: true,
71    name: "FormatConvertFuzzer_copyYV12toBGR32",
72    srcs: [
73        "FormatConvertFuzzer.cpp",
74    ],
75    static_libs: [
76        "android.hardware.automotive.evs@common-default-lib",
77    ],
78    cflags: [
79        "-DCOPY_YV12_TO_BGR32",
80    ],
81}
82
83cc_fuzz {
84    host_supported: true,
85    name: "FormatConvertFuzzer_copyYUYVtoRGB32",
86    srcs: [
87        "FormatConvertFuzzer.cpp",
88    ],
89    static_libs: [
90        "android.hardware.automotive.evs@common-default-lib",
91    ],
92    cflags: [
93        "-DCOPY_YUYV_TO_RGB32",
94    ],
95}
96
97cc_fuzz {
98    host_supported: true,
99    name: "FormatConvertFuzzer_copyYUYVtoBGR32",
100    srcs: [
101        "FormatConvertFuzzer.cpp",
102    ],
103    static_libs: [
104        "android.hardware.automotive.evs@common-default-lib",
105    ],
106    cflags: [
107        "-DCOPY_YUYV_TO_BGR32",
108    ],
109}
110