mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-04-02 20:30:49 +07:00
This change adds the 'no_bti' default to hevc_dec_fuzzer and hevc_enc_fuzzer as they statically link against libraries lacking BTI support. This is done to fix the linker errors raised in haiku_fuzz_shiba-trunk_staging-userdebug and haiku_fuzzcoverage_shiba-trunk_staging-userdebug targets. Bug: 491119982 Flag: EXEMPT BUGFIX Test: CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS='*' m haiku dist && m haiku dist Change-Id: I3f569311b17667f2f4dd57e846d13e50ee5dfbe9
79 lines
1.8 KiB
Text
79 lines
1.8 KiB
Text
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "external_libhevc_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["external_libhevc_license"],
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "hevc_dec_fuzzer",
|
|
//TODO: b/485868924
|
|
defaults: [
|
|
"no_bti",
|
|
],
|
|
host_supported: true,
|
|
srcs: [
|
|
"hevc_dec_fuzzer.cpp",
|
|
],
|
|
static_libs: [
|
|
"libhevcdec",
|
|
"liblog",
|
|
],
|
|
target: {
|
|
darwin: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
fuzz_config: {
|
|
cc: [
|
|
"android-media-fuzzing-reports@google.com",
|
|
],
|
|
componentid: 155276,
|
|
hotlists: [
|
|
"4593311",
|
|
"2281331",
|
|
],
|
|
description: "The fuzzer targets the APIs of libhevcdec",
|
|
vector: "remote",
|
|
service_privilege: "constrained",
|
|
users: "multi_user",
|
|
fuzzed_code_usage: "shipped",
|
|
},
|
|
}
|
|
|
|
cc_fuzz {
|
|
name: "hevc_enc_fuzzer",
|
|
//TODO: b/485868924
|
|
defaults: [
|
|
"no_bti",
|
|
],
|
|
host_supported: true,
|
|
srcs: [
|
|
"hevc_enc_fuzzer.cpp",
|
|
],
|
|
static_libs: [
|
|
"libhevcenc",
|
|
"liblog",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
fuzz_config: {
|
|
cc: [
|
|
"android-media-fuzzing-reports@google.com",
|
|
],
|
|
componentid: 155276,
|
|
hotlists: [
|
|
"4593311",
|
|
"2281331",
|
|
],
|
|
description: "The fuzzer targets the APIs of libhevcenc",
|
|
vector: "local_no_privileges_required",
|
|
service_privilege: "constrained",
|
|
users: "multi_user",
|
|
fuzzed_code_usage: "shipped",
|
|
},
|
|
}
|