Roll libjpeg-turbo to 1.4.90 and update gn file

Includes the following commits:

Add PRIVATE flags to global symbols
  51655203fbc949e6423dcd13ce22fe30ab5b5ea2

Fix INLINE macro on Windows
  9fee17f77cb7bf0f543f9f4a77b20edbde4c2c04

Update to libjpeg_turbo 1.4.90
  0d47d2d3a728e78676a15b1d818cc668cb7e5a9c

Add default variable 'use_system_yasm%':
  9d35298a6223278a66423f828a949d93d94d5911

Update README.chromium about the 32-bit argument patch
  c653af70b7b2bbd3e8cd16c17bc2705cf25b1469

BUG=608347

Review-Url: https://codereview.chromium.org/1935113002
Cr-Original-Commit-Position: refs/heads/master@{#391883}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 346f74fb31a84f8453e885337e0765576b4f35b6
This commit is contained in:
msarett 2016-05-05 13:00:43 -07:00 коммит произвёл Commit bot
Родитель d692e736a6
Коммит b949fd367f
1 изменённых файлов: 53 добавлений и 50 удалений

103
secondary/third_party/libjpeg_turbo/BUILD.gn поставляемый
Просмотреть файл

@ -18,58 +18,60 @@ if (current_cpu == "x86" || current_cpu == "x64") {
if (current_cpu == "x86") {
sources = [
"simd/jccolmmx.asm",
"simd/jccolss2.asm",
"simd/jcgrammx.asm",
"simd/jcgrass2.asm",
"simd/jcqnt3dn.asm",
"simd/jcqntmmx.asm",
"simd/jcqnts2f.asm",
"simd/jcqnts2i.asm",
"simd/jcqntsse.asm",
"simd/jcsammmx.asm",
"simd/jcsamss2.asm",
"simd/jdcolmmx.asm",
"simd/jdcolss2.asm",
"simd/jdmermmx.asm",
"simd/jdmerss2.asm",
"simd/jdsammmx.asm",
"simd/jdsamss2.asm",
"simd/jf3dnflt.asm",
"simd/jfmmxfst.asm",
"simd/jfmmxint.asm",
"simd/jfss2fst.asm",
"simd/jfss2int.asm",
"simd/jfsseflt.asm",
"simd/ji3dnflt.asm",
"simd/jimmxfst.asm",
"simd/jimmxint.asm",
"simd/jimmxred.asm",
"simd/jiss2flt.asm",
"simd/jiss2fst.asm",
"simd/jiss2int.asm",
"simd/jiss2red.asm",
"simd/jisseflt.asm",
"simd/jccolor-mmx.asm",
"simd/jccolor-sse2.asm",
"simd/jcgray-mmx.asm",
"simd/jcgray-sse2.asm",
"simd/jchuff-sse2.asm",
"simd/jcsample-mmx.asm",
"simd/jcsample-sse2.asm",
"simd/jdcolor-mmx.asm",
"simd/jdcolor-sse2.asm",
"simd/jdmerge-mmx.asm",
"simd/jdmerge-sse2.asm",
"simd/jdsample-mmx.asm",
"simd/jdsample-sse2.asm",
"simd/jfdctflt-3dn.asm",
"simd/jfdctflt-sse.asm",
"simd/jfdctfst-mmx.asm",
"simd/jfdctfst-sse2.asm",
"simd/jfdctint-mmx.asm",
"simd/jfdctint-sse2.asm",
"simd/jidctflt-3dn.asm",
"simd/jidctflt-sse.asm",
"simd/jidctflt-sse2.asm",
"simd/jidctfst-mmx.asm",
"simd/jidctfst-sse2.asm",
"simd/jidctint-mmx.asm",
"simd/jidctint-sse2.asm",
"simd/jidctred-mmx.asm",
"simd/jidctred-sse2.asm",
"simd/jquant-3dn.asm",
"simd/jquant-mmx.asm",
"simd/jquant-sse.asm",
"simd/jquantf-sse2.asm",
"simd/jquanti-sse2.asm",
"simd/jsimdcpu.asm",
]
defines += [ "__x86__" ]
} else if (current_cpu == "x64") {
sources = [
"simd/jccolss2-64.asm",
"simd/jcgrass2-64.asm",
"simd/jcqnts2f-64.asm",
"simd/jcqnts2i-64.asm",
"simd/jcsamss2-64.asm",
"simd/jdcolss2-64.asm",
"simd/jdmerss2-64.asm",
"simd/jdsamss2-64.asm",
"simd/jfss2fst-64.asm",
"simd/jfss2int-64.asm",
"simd/jfsseflt-64.asm",
"simd/jiss2flt-64.asm",
"simd/jiss2fst-64.asm",
"simd/jiss2int-64.asm",
"simd/jiss2red-64.asm",
"simd/jccolor-sse2-64.asm",
"simd/jcgray-sse2-64.asm",
"simd/jchuff-sse2-64.asm",
"simd/jcsample-sse2-64.asm",
"simd/jdcolor-sse2-64.asm",
"simd/jdmerge-sse2-64.asm",
"simd/jdsample-sse2-64.asm",
"simd/jfdctflt-sse-64.asm",
"simd/jfdctfst-sse2-64.asm",
"simd/jfdctint-sse2-64.asm",
"simd/jidctflt-sse2-64.asm",
"simd/jidctfst-sse2-64.asm",
"simd/jidctint-sse2-64.asm",
"simd/jidctred-sse2-64.asm",
"simd/jquantf-sse2-64.asm",
"simd/jquanti-sse2-64.asm",
]
defines += [ "__x86_64__" ]
}
@ -100,9 +102,6 @@ source_set("simd") {
sources = [
"simd/jsimd_i386.c",
]
if (is_win) {
cflags = [ "/wd4245" ]
}
} else if (current_cpu == "x64") {
deps = [
":simd_asm",
@ -126,6 +125,10 @@ source_set("simd") {
"jsimd_none.c",
]
}
if (is_win) {
cflags = [ "/wd4245" ]
}
}
config("libjpeg_config") {