commit | d2da6a7902ee2dfabf78c32993f917e7d0401cc0 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Thu Jan 02 11:39:40 2020 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 02 18:06:36 2020 +0000 |
tree | 7dbde032c8bbd93a507f6d19d5e485c6126550f6 | |
parent | f5cde33d586ccf79d9da4062bb61e7ace6fd35c6 [diff] [blame] |
build libjpeg-turbo with -DUSE_CLZ_INTRINSIC Otherwise it falls back on a 64K table. Change-Id: I871fdfd9ef22ba7f3df758272b7dc557f217d5e0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261942 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
diff --git a/third_party/libjpeg-turbo/BUILD.gn b/third_party/libjpeg-turbo/BUILD.gn index 218505b..c88325f 100644 --- a/third_party/libjpeg-turbo/BUILD.gn +++ b/third_party/libjpeg-turbo/BUILD.gn
@@ -21,6 +21,9 @@ ] defines = [ "TURBO_FOR_WINDOWS" ] + if (!is_win || is_clang) { + defines += [ "USE_CLZ_INTRINSIC" ] # Cuts a 64K table. + } sources = [ "../externals/libjpeg-turbo/jaricom.c",