You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
4.0 KiB

cc_library_static {
name: "libaom",
host_supported: true,
vendor_available: true,
cflags: [
"-O3",
],
export_include_dirs: [
"libaom",
],
arch: {
arm64: {
local_include_dirs: [
"config/",
"config/arm64/",
],
srcs: aom_av1_common_sources +
aom_av1_decoder_sources +
aom_dsp_common_sources +
aom_dsp_decoder_sources +
aom_mem_sources +
["libaom/aom_ports/arm_cpudetect.c"] +
aom_rtcd_sources +
aom_scale_sources +
aom_sources +
aom_util_sources +
aom_av1_common_intrin_neon +
aom_dsp_common_intrin_neon,
},
// configured to require the neon unit
arm: {
neon: {
local_include_dirs: [
"config/",
"config/arm/",
],
srcs: aom_av1_common_sources +
aom_av1_decoder_sources +
aom_dsp_common_sources +
aom_dsp_decoder_sources +
aom_mem_sources +
aom_rtcd_sources +
["libaom/aom_ports/arm_cpudetect.c"] +
aom_scale_sources +
aom_sources +
aom_util_sources +
aom_av1_common_intrin_neon +
aom_dsp_common_intrin_neon,
},
},
x86_64: {
local_include_dirs: [
"config/",
"config/x86_64/",
],
cflags: [
"-mssse3",
],
srcs: aom_av1_common_sources +
aom_av1_decoder_sources +
aom_dsp_common_sources +
aom_dsp_decoder_sources +
aom_mem_sources +
aom_rtcd_sources +
aom_scale_sources +
aom_sources +
aom_util_sources +
aom_dsp_common_asm_sse2 +
aom_dsp_common_asm_ssse3 +
aom_ports_asm_x86 +
aom_av1_common_intrin_sse2 +
aom_dsp_common_intrin_sse2 +
aom_av1_common_intrin_ssse3 +
aom_dsp_common_intrin_ssse3,
},
x86: {
local_include_dirs: [
"config/",
"config/x86/",
],
cflags: [
"-mssse3",
],
srcs: aom_av1_common_sources +
aom_av1_decoder_sources +
aom_dsp_common_sources +
aom_dsp_decoder_sources +
aom_mem_sources +
aom_rtcd_sources +
aom_scale_sources +
aom_sources +
aom_util_sources +
aom_dsp_common_asm_sse2 +
aom_dsp_common_asm_ssse3 +
aom_ports_asm_x86 +
aom_av1_common_intrin_sse2 +
aom_dsp_common_intrin_sse2 +
aom_av1_common_intrin_ssse3 +
aom_dsp_common_intrin_ssse3,
},
},
sanitize: {
blocklist: "libaom_blocklist.txt",
},
}
cc_fuzz {
name: "av1_dec_fuzzer",
host_supported: true,
srcs: [
"libaom/examples/av1_dec_fuzzer.cc",
],
arch: {
arm: {
neon: {
local_include_dirs: [
"config/",
"config/arm/",
],
},
},
arm64: {
local_include_dirs: [
"config/",
"config/arm64/",
],
},
x86: {
local_include_dirs: [
"config/",
"config/x86/",
],
},
x86_64: {
local_include_dirs: [
"config/",
"config/x86_64/",
],
},
},
static_libs: [
"libaom",
],
}