Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/libvpx/BUILD.gn

Issue 2027703002: Roll src/third_party/libvpx/source/libvpx/ 4f774ac50..f80d8011a (12 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
« no previous file with comments | « DEPS ('k') | third_party/libvpx/README.chromium » ('j') | third_party/libvpx/libvpx_srcs.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698