| Index: gyp/libjpeg-turbo.gyp
|
| diff --git a/gyp/libjpeg-turbo.gyp b/gyp/libjpeg-turbo.gyp
|
| index 25a919fb99ffad17dd51bc9f505f37cf6f61ab4e..eafd6cb10494fccd0f97e47d3d616c80ff4f201c 100644
|
| --- a/gyp/libjpeg-turbo.gyp
|
| +++ b/gyp/libjpeg-turbo.gyp
|
| @@ -113,10 +113,17 @@
|
| # from asm files. This flag disables UseLibraryDependencyInputs to
|
| # avoid this problem.
|
| 'msvs_2010_disable_uldi_when_referenced': 1,
|
| -
|
| +
|
| # Add target-specific source files.
|
| 'conditions': [
|
| - [ 'skia_arch_type == "x86"', {
|
| + # FIXME (msarett): Reenable yasm on Android for x86 and x86_64
|
| + # https://code.google.com/p/skia/issues/detail?id=4028
|
| + [ 'skia_os == "android" and "x86" in skia_arch_type', {
|
| + 'sources': [
|
| + '../third_party/externals/libjpeg-turbo/jsimd_none.c',
|
| + ],
|
| + }],
|
| + [ 'skia_arch_type == "x86" and skia_os != "android"', {
|
| 'sources': [
|
| '../third_party/externals/libjpeg-turbo/simd/jsimd_i386.c',
|
| '../third_party/externals/libjpeg-turbo/simd/jccolor-mmx.asm',
|
| @@ -154,7 +161,7 @@
|
| '../third_party/externals/libjpeg-turbo/simd/jsimdcpu.asm',
|
| ],
|
| }],
|
| - [ 'skia_arch_type == "x86_64"', {
|
| + [ 'skia_arch_type == "x86_64" and skia_os != "android"', {
|
| 'sources': [
|
| '../third_party/externals/libjpeg-turbo/simd/jsimd_x86_64.c',
|
| '../third_party/externals/libjpeg-turbo/simd/jccolor-sse2-64.asm',
|
|
|