Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 # Do not use the targets in this file unless you need a certain libjpeg | 5 # Do not use the targets in this file unless you need a certain libjpeg |
| 6 # implementation. Use the meta target //third_party:jpeg instead. | 6 # implementation. Use the meta target //third_party:jpeg instead. |
| 7 | 7 |
| 8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
| 9 if (current_cpu == "arm") { | 9 if (current_cpu == "arm" || current_cpu == "arm64") { |
| 10 import("//build/config/arm.gni") | 10 import("//build/config/arm.gni") |
|
Nico
2016/04/14 15:43:55
why is this needed? what reads this?
khasim.mohammed
2016/04/14 16:38:46
arm_fpu is set in arm.gni. This is needed to build
| |
| 11 } | 11 } |
| 12 | 12 |
| 13 if (current_cpu == "x86" || current_cpu == "x64") { | 13 if (current_cpu == "x86" || current_cpu == "x64") { |
| 14 import("//third_party/yasm/yasm_assemble.gni") | 14 import("//third_party/yasm/yasm_assemble.gni") |
| 15 | 15 |
| 16 yasm_assemble("simd_asm") { | 16 yasm_assemble("simd_asm") { |
| 17 defines = [] | 17 defines = [] |
| 18 | 18 |
| 19 if (current_cpu == "x86") { | 19 if (current_cpu == "x86") { |
| 20 sources = [ | 20 sources = [ |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 205 # MemorySanitizer doesn't support assembly code, so keep it disabled in | 205 # MemorySanitizer doesn't support assembly code, so keep it disabled in |
| 206 # MSan builds for now. | 206 # MSan builds for now. |
| 207 if (is_msan) { | 207 if (is_msan) { |
| 208 sources += [ "jsimd_none.c" ] | 208 sources += [ "jsimd_none.c" ] |
| 209 } else { | 209 } else { |
| 210 deps = [ | 210 deps = [ |
| 211 ":simd", | 211 ":simd", |
| 212 ] | 212 ] |
| 213 } | 213 } |
| 214 } | 214 } |
| OLD | NEW |