mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
fix mac build
This commit is contained in:
parent
8670517590
commit
cb6d857f8a
1 changed files with 0 additions and 36 deletions
36
arm/third_party/libvpx/BUILD.gn
vendored
36
arm/third_party/libvpx/BUILD.gn
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue