Disable bitmap decoders for GPU specific formats on Android framework
R=reed@google.com, robertphillips@google.com, scroggo@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/510913003
This commit is contained in:
parent
7b3d5ee72c
commit
38e44b06b2
@ -14,13 +14,6 @@
|
||||
'libwebp.gyp:libwebp',
|
||||
'utils.gyp:utils',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'skia_android_framework == 0', {
|
||||
'export_dependent_settings': [
|
||||
'libjpeg.gyp:*',
|
||||
],
|
||||
}],
|
||||
],
|
||||
'include_dirs': [
|
||||
'../include/images',
|
||||
'../src/lazy',
|
||||
@ -141,7 +134,16 @@
|
||||
'conditions': [
|
||||
[ 'skia_android_framework == 0', {
|
||||
'export_dependent_settings': [
|
||||
'android_deps.gyp:png'
|
||||
'android_deps.gyp:png',
|
||||
'libjpeg.gyp:*'
|
||||
],
|
||||
}, {
|
||||
# The android framework disables these decoders as they are of little use to
|
||||
# Java applications that can't take advantage of the compressed formats.
|
||||
'sources!': [
|
||||
'../src/images/SkImageDecoder_pkm.cpp',
|
||||
'../src/images/SkImageDecoder_ktx.cpp',
|
||||
'../src/images/SkImageDecoder_astc.cpp',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user