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

Side by Side Diff: build/secondary/third_party/libjpeg_turbo/BUILD.gn

Issue 1666833002: Add missing arm64 simd build rules for libjpeg_turbo for GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 # 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") {
10 import("//build/config/arm.gni") 10 import("//build/config/arm.gni")
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ] 109 ]
110 sources = [ 110 sources = [
111 "simd/jsimd_x86_64.c", 111 "simd/jsimd_x86_64.c",
112 ] 112 ]
113 } else if (current_cpu == "arm" && arm_version >= 7 && 113 } else if (current_cpu == "arm" && arm_version >= 7 &&
114 (arm_use_neon || arm_optionally_use_neon)) { 114 (arm_use_neon || arm_optionally_use_neon)) {
115 sources = [ 115 sources = [
116 "simd/jsimd_arm.c", 116 "simd/jsimd_arm.c",
117 "simd/jsimd_arm_neon.S", 117 "simd/jsimd_arm_neon.S",
118 ] 118 ]
119 } else if (current_cpu == "arm64") {
120 sources = [
121 "simd/jsimd_arm64.c",
122 "simd/jsimd_arm64_neon.S",
123 ]
119 } else { 124 } else {
120 sources = [ 125 sources = [
121 "jsimd_none.c", 126 "jsimd_none.c",
122 ] 127 ]
123 } 128 }
124 } 129 }
125 130
126 config("libjpeg_config") { 131 config("libjpeg_config") {
127 include_dirs = [ "." ] 132 include_dirs = [ "." ]
128 } 133 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 # MemorySanitizer doesn't support assembly code, so keep it disabled in 205 # MemorySanitizer doesn't support assembly code, so keep it disabled in
201 # MSan builds for now. 206 # MSan builds for now.
202 if (is_msan) { 207 if (is_msan) {
203 sources += [ "jsimd_none.c" ] 208 sources += [ "jsimd_none.c" ]
204 } else { 209 } else {
205 deps = [ 210 deps = [
206 ":simd", 211 ":simd",
207 ] 212 ]
208 } 213 }
209 } 214 }
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