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

Side by Side Diff: third_party/libvpx/BUILD.gn

Issue 2549623004: [ABANDONED] Disable AVX2 in libvpx for the SyzyAsan builds of Chrome. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/arm.gni") 5 import("//build/config/arm.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//third_party/libvpx/libvpx_srcs.gni") 8 import("//third_party/libvpx/libvpx_srcs.gni")
9 import("//third_party/yasm/yasm_assemble.gni") 9 import("//third_party/yasm/yasm_assemble.gni")
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 304 }
305 } else if (current_cpu == "arm64") { 305 } else if (current_cpu == "arm64") {
306 sources = libvpx_srcs_arm64 306 sources = libvpx_srcs_arm64
307 } 307 }
308 308
309 configs += [ ":libvpx_config" ] 309 configs += [ ":libvpx_config" ]
310 configs -= [ "//build/config/compiler:chromium_code" ] 310 configs -= [ "//build/config/compiler:chromium_code" ]
311 configs += [ "//build/config/compiler:no_chromium_code" ] 311 configs += [ "//build/config/compiler:no_chromium_code" ]
312 configs += [ ":libvpx_warnings" ] 312 configs += [ ":libvpx_warnings" ]
313 deps = [] 313 deps = []
314 if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) { 314 if ((current_cpu == "x86" && !is_syzyasan) ||
315 (current_cpu == "x64" && !is_msan)) {
315 deps += [ 316 deps += [
316 ":libvpx_intrinsics_avx", 317 ":libvpx_intrinsics_avx",
317 ":libvpx_intrinsics_avx2", 318 ":libvpx_intrinsics_avx2",
318 ":libvpx_intrinsics_mmx", 319 ":libvpx_intrinsics_mmx",
319 ":libvpx_intrinsics_sse2", 320 ":libvpx_intrinsics_sse2",
320 ":libvpx_intrinsics_sse4_1", 321 ":libvpx_intrinsics_sse4_1",
321 ":libvpx_intrinsics_ssse3", 322 ":libvpx_intrinsics_ssse3",
322 ":libvpx_yasm", 323 ":libvpx_yasm",
323 ] 324 ]
324 } 325 }
325 if (cpu_arch_full == "arm-neon-cpu-detect") { 326 if (cpu_arch_full == "arm-neon-cpu-detect") {
326 deps += [ ":libvpx_intrinsics_neon" ] 327 deps += [ ":libvpx_intrinsics_neon" ]
327 } 328 }
328 if (is_android) { 329 if (is_android) {
329 deps += [ "//third_party/android_tools:cpu_features" ] 330 deps += [ "//third_party/android_tools:cpu_features" ]
330 } 331 }
331 if (current_cpu == "arm" && arm_assembly_sources != []) { 332 if (current_cpu == "arm" && arm_assembly_sources != []) {
332 deps += [ ":libvpx_assembly_arm" ] 333 deps += [ ":libvpx_assembly_arm" ]
333 } 334 }
334 335
335 public_configs = [ ":libvpx_external_config" ] 336 public_configs = [ ":libvpx_external_config" ]
336 } 337 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698