| Index: third_party/libvpx/BUILD.gn
|
| diff --git a/third_party/libvpx/BUILD.gn b/third_party/libvpx/BUILD.gn
|
| index 5df461638b21b8e10ef4049453ab7f18b23fedae..75dd075bec6ec4c0bc98fcd2441219b9945d11de 100644
|
| --- a/third_party/libvpx/BUILD.gn
|
| +++ b/third_party/libvpx/BUILD.gn
|
| @@ -174,22 +174,23 @@ if (current_cpu == "x86" || current_cpu == "x64") {
|
| }
|
| }
|
|
|
| - static_library("libvpx_intrinsics_avx") {
|
| - configs += [ ":libvpx_config" ]
|
| - configs -= [ "//build/config/compiler:chromium_code" ]
|
| - configs += [ "//build/config/compiler:no_chromium_code" ]
|
| - configs += [ ":libvpx_warnings" ]
|
| - if (is_win) {
|
| - cflags = [ "/arch:AVX" ]
|
| - } else {
|
| - cflags = [ "-mavx" ]
|
| - }
|
| - if (current_cpu == "x86") {
|
| - sources = libvpx_srcs_x86_avx
|
| - } else if (current_cpu == "x64") {
|
| - sources = libvpx_srcs_x86_64_avx
|
| - }
|
| - }
|
| + # Currently no avx intrinsic functions
|
| + # static_library("libvpx_intrinsics_avx") {
|
| + # configs += [ ":libvpx_config" ]
|
| + # configs -= [ "//build/config/compiler:chromium_code" ]
|
| + # configs += [ "//build/config/compiler:no_chromium_code" ]
|
| + # configs += [ ":libvpx_warnings" ]
|
| + # if (is_win) {
|
| + # cflags = [ "/arch:AVX" ]
|
| + # } else {
|
| + # cflags = [ "-mavx" ]
|
| + # }
|
| + # if (current_cpu == "x86") {
|
| + # sources = libvpx_srcs_x86_avx
|
| + # } else if (current_cpu == "x64") {
|
| + # sources = libvpx_srcs_x86_64_avx
|
| + # }
|
| + # }
|
|
|
| static_library("libvpx_intrinsics_avx2") {
|
| configs += [ ":libvpx_config" ]
|
| @@ -295,7 +296,8 @@ static_library("libvpx") {
|
| deps = []
|
| if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
|
| deps += [
|
| - ":libvpx_intrinsics_avx",
|
| + # Currently no avx intrinsic functions
|
| + #":libvpx_intrinsics_avx",
|
| ":libvpx_intrinsics_avx2",
|
| ":libvpx_intrinsics_mmx",
|
| ":libvpx_intrinsics_sse2",
|
|
|