fix mac build

This commit is contained in:
Alexander Frick 2024-01-24 07:59:58 -06:00
parent 8670517590
commit cb6d857f8a

View file

@ -291,42 +291,6 @@ if (current_cpu == "arm" || current_cpu == "arm64") {
}
}
if (current_cpu == "arm64") {
source_set("libvpx_intrinsics_neon_dotprod") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libvpx_config" ]
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+dotprod" ]
}
if (cpu_arch_full == "arm64") {
sources = libvpx_srcs_arm64_neon_dotprod
deps = [ ":libvpx_arm64_headers" ]
} else if (cpu_arch_full == "arm64-highbd") {
sources = libvpx_srcs_arm64_highbd_neon_dotprod
deps = [ ":libvpx_arm64_highbd_headers" ]
}
}
source_set("libvpx_intrinsics_neon_i8mm") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libvpx_config" ]
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+i8mm" ]
}
if (cpu_arch_full == "arm64") {
sources = libvpx_srcs_arm64_neon_i8mm
deps = [ ":libvpx_arm64_headers" ]
} else if (cpu_arch_full == "arm64-highbd") {
sources = libvpx_srcs_arm64_highbd_neon_i8mm
deps = [ ":libvpx_arm64_highbd_headers" ]
}
}
}
if (current_cpu == "arm") {
if (cpu_arch_full == "arm-neon") {
arm_assembly_sources = libvpx_srcs_arm_neon_assembly