f657b1093e
Reason for revert: yasm is leaking memory :(. https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN/builds/926/steps/build%20dm/logs/stdio Original issue's description: > Add libjpeg-turbo library (depends on yasm) > Mangle external function names to avoid conflict with libjpeg > Take advantage of direct color conversion (RGBA, BGRA, 565) > Prepare to use jpeg_skip_scanlines (when it is upstreamed) > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/b60c3f8291529303299262dba19b1a896060bd2d > > Committed: https://skia.googlesource.com/skia/+/f8bf9181d7b0463c8e371755cfbb9ece90b34fc5 TBR=scroggo@google.com,djsollen@google.com,emmaleer@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1214023003
73 lines
2.1 KiB
Python
73 lines
2.1 KiB
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# GYP file for codec project.
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'codec',
|
|
'product_name': 'skia_codec',
|
|
'type': 'static_library',
|
|
'standalone_static_library': 1,
|
|
'dependencies': [
|
|
'core.gyp:*',
|
|
'giflib.gyp:giflib',
|
|
'libjpeg.gyp:libjpeg',
|
|
'libwebp.gyp:libwebp',
|
|
],
|
|
'cflags':[
|
|
# FIXME: This gets around a longjmp warning. See
|
|
# http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio
|
|
'-Wno-clobbered',
|
|
],
|
|
'include_dirs': [
|
|
'../include/codec',
|
|
'../src/codec',
|
|
'../src/core',
|
|
],
|
|
'sources': [
|
|
'../src/codec/SkCodec.cpp',
|
|
'../src/codec/SkCodec_libbmp.cpp',
|
|
'../src/codec/SkCodec_libgif.cpp',
|
|
'../src/codec/SkCodec_libico.cpp',
|
|
'../src/codec/SkCodec_libpng.cpp',
|
|
'../src/codec/SkCodec_wbmp.cpp',
|
|
'../src/codec/SkGifInterlaceIter.cpp',
|
|
'../src/codec/SkJpegCodec.cpp',
|
|
'../src/codec/SkJpegDecoderMgr.cpp',
|
|
'../src/codec/SkJpegUtility_codec.cpp',
|
|
'../src/codec/SkMaskSwizzler.cpp',
|
|
'../src/codec/SkMasks.cpp',
|
|
'../src/codec/SkSwizzler.cpp',
|
|
'../src/codec/SkWebpCodec.cpp',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'../include/codec',
|
|
],
|
|
},
|
|
'conditions': [
|
|
[ 'skia_android_framework == 1',
|
|
{
|
|
# TODO(djsollen): this is a temporary dependency until we can update
|
|
# the android framework to a more recent version of libpng.
|
|
'dependencies': [
|
|
'libpng.gyp:libpng',
|
|
],
|
|
}, { # !skia_android_framework
|
|
'dependencies': [
|
|
'libpng.gyp:libpng_static',
|
|
],
|
|
}
|
|
]
|
|
]
|
|
},
|
|
],
|
|
}
|