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 17cc_fuzz { 18 host_supported: true, 19 name : "FormatConvertFuzzer_copyNV21toRGB32", 20 srcs: [ 21 "FormatConvertFuzzer.cpp", 22 ], 23 static_libs: [ 24 "android.hardware.automotive.evs@common-default-lib" 25 ], 26 cflags: [ 27 "-DCOPY_NV21_TO_RGB32", 28 ], 29} 30 31cc_fuzz { 32 host_supported: true, 33 name : "FormatConvertFuzzer_copyNV21toBGR32", 34 srcs: [ 35 "FormatConvertFuzzer.cpp", 36 ], 37 static_libs: [ 38 "android.hardware.automotive.evs@common-default-lib" 39 ], 40 cflags: [ 41 "-DCOPY_NV21_TO_BGR32", 42 ], 43} 44 45cc_fuzz { 46 host_supported: true, 47 name : "FormatConvertFuzzer_copyYV12toRGB32", 48 srcs: [ 49 "FormatConvertFuzzer.cpp", 50 ], 51 static_libs: [ 52 "android.hardware.automotive.evs@common-default-lib" 53 ], 54 cflags: [ 55 "-DCOPY_YV12_TO_RGB32", 56 ], 57} 58 59cc_fuzz { 60 host_supported: true, 61 name : "FormatConvertFuzzer_copyYV12toBGR32", 62 srcs: [ 63 "FormatConvertFuzzer.cpp", 64 ], 65 static_libs: [ 66 "android.hardware.automotive.evs@common-default-lib" 67 ], 68 cflags: [ 69 "-DCOPY_YV12_TO_BGR32", 70 ], 71} 72 73cc_fuzz { 74 host_supported: true, 75 name : "FormatConvertFuzzer_copyYUYVtoRGB32", 76 srcs: [ 77 "FormatConvertFuzzer.cpp", 78 ], 79 static_libs: [ 80 "android.hardware.automotive.evs@common-default-lib" 81 ], 82 cflags: [ 83 "-DCOPY_YUYV_TO_RGB32", 84 ], 85} 86 87cc_fuzz { 88 host_supported: true, 89 name : "FormatConvertFuzzer_copyYUYVtoBGR32", 90 srcs: [ 91 "FormatConvertFuzzer.cpp", 92 ], 93 static_libs: [ 94 "android.hardware.automotive.evs@common-default-lib" 95 ], 96 cflags: [ 97 "-DCOPY_YUYV_TO_BGR32", 98 ], 99} 100