diff options
author | msarett <msarett@google.com> | 2016-02-23 05:48:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 05:48:01 -0800 |
commit | 285e7c62ed3487f47c3cf9e6a51d1d484408084a (patch) | |
tree | fd327dfba57cfafbec1819d0ea463e40132ed19a | |
parent | b65e604f1083e1d0cd85a0635ff4742d95a0837b (diff) |
Turn on TURBO_HAS_CROP for Android framework
https://buganizer.corp.google.com/u/0/issues/27290496
BUG=skia:4256
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1721953002
Review URL: https://codereview.chromium.org/1721953002
-rw-r--r-- | gyp/codec.gyp | 10 |
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 |