summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragrieve <agrieve@chromium.org>2016-02-03 17:21:07 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-04 01:22:27 +0000
commitd57925460a7edc126994392be7c7e159f4222d70 (patch)
treee849ecb18d026f49d92ed463e7a31d0188b76f7e
parent16697f40e07b93472ddfff75f65a5cc8567d3de7 (diff)
downloadchromium_src-d57925460a7edc126994392be7c7e159f4222d70.zip
chromium_src-d57925460a7edc126994392be7c7e159f4222d70.tar.gz
chromium_src-d57925460a7edc126994392be7c7e159f4222d70.tar.bz2
Add missing arm64 simd build rules for libjpeg_turbo for GN
They already existed for GYP build. Should fix the perf regression in associated bug. BUG=580983 Review URL: https://codereview.chromium.org/1666833002 Cr-Commit-Position: refs/heads/master@{#373411}
-rw-r--r--build/secondary/third_party/libjpeg_turbo/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/secondary/third_party/libjpeg_turbo/BUILD.gn b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
index 6be39fe..09e5eb4 100644
--- a/build/secondary/third_party/libjpeg_turbo/BUILD.gn
+++ b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
@@ -116,6 +116,11 @@ source_set("simd") {
"simd/jsimd_arm.c",
"simd/jsimd_arm_neon.S",
]
+ } else if (current_cpu == "arm64") {
+ sources = [
+ "simd/jsimd_arm64.c",
+ "simd/jsimd_arm64_neon.S",
+ ]
} else {
sources = [
"jsimd_none.c",