Turn on TURBO_HAS_CROP for Android framework
authormsarett <msarett@google.com>
Tue, 23 Feb 2016 13:48:01 +0000 (05:48 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Feb 2016 13:48:01 +0000 (05:48 -0800)
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

gyp/codec.gyp

index d8f6f66cd2c2cb1cb69f7f5e7c6c02a6decbdc76..a445ff04e1a6ee234a0c2bb98016e6da330a5f96 100644 (file)
@@ -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',
       ],
             '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