aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-02-23 05:48:01 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-23 05:48:01 -0800
commit285e7c62ed3487f47c3cf9e6a51d1d484408084a (patch)
treefd327dfba57cfafbec1819d0ea463e40132ed19a
parentb65e604f1083e1d0cd85a0635ff4742d95a0837b (diff)
Turn on TURBO_HAS_CROP for Android framework
-rw-r--r--gyp/codec.gyp10
1 files changed, 2 insertions, 8 deletions
diff --git a/gyp/codec.gyp b/gyp/codec.gyp
index d8f6f66cd2..a445ff04e1 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -74,7 +74,8 @@
'SK_CODEC_DECODES_WEBP',
# Turn on libjpeg-turbo optimizations since we know that the
- # appropriate version of libjpeg-turbo is present.
+ # appropriate version of libjpeg-turbo is present.
+ 'TURBO_HAS_CROP',
'TURBO_HAS_SKIP',
'TURBO_HAS_565',
],
@@ -84,13 +85,6 @@
'raw_codec',
],
},],
- ['skia_android_framework == 0', {
- 'defines': [
- # TODO (msarett): Add this optimization to Android.
- # https://buganizer.corp.google.com/u/0/issues/27290496
- 'TURBO_HAS_CROP',
- ],
- },],
],
}, {
# RAW codec needs exceptions. Due to that, it is a separate target. Its usage can be