| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # Copyright 2015 Google Inc. | 5 # Copyright 2015 Google Inc. |
| 6 # | 6 # |
| 7 # Use of this source code is governed by a BSD-style license that can be | 7 # Use of this source code is governed by a BSD-style license that can be |
| 8 # found in the LICENSE file. | 8 # found in the LICENSE file. |
| 9 | 9 |
| 10 # GYP file for codec project. | 10 # GYP file for codec project. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 '../src/codec/SkWebpCodec.cpp', | 52 '../src/codec/SkWebpCodec.cpp', |
| 53 | 53 |
| 54 '../src/codec/SkCodecImageGenerator.cpp', | 54 '../src/codec/SkCodecImageGenerator.cpp', |
| 55 '../src/ports/SkImageGenerator_skia.cpp', | 55 '../src/ports/SkImageGenerator_skia.cpp', |
| 56 ], | 56 ], |
| 57 'direct_dependent_settings': { | 57 'direct_dependent_settings': { |
| 58 'include_dirs': [ | 58 'include_dirs': [ |
| 59 '../include/codec', | 59 '../include/codec', |
| 60 ], | 60 ], |
| 61 }, | 61 }, |
| 62 'defines': [ | |
| 63 # Turn on libjpeg-turbo optimizations since we know that the | |
| 64 # appropriate version of libjpeg-turbo is present. | |
| 65 'TURBO_HAS_CROP', | |
| 66 'TURBO_HAS_SKIP', | |
| 67 'TURBO_HAS_565', | |
| 68 ], | |
| 69 'conditions': [ | 62 'conditions': [ |
| 70 ['skia_codec_decodes_raw', { | 63 ['skia_codec_decodes_raw', { |
| 71 'dependencies': [ | 64 'dependencies': [ |
| 72 'raw_codec', | 65 'raw_codec', |
| 73 ], | 66 ], |
| 74 },], | 67 },], |
| 75 ], | 68 ], |
| 76 }, { | 69 }, { |
| 77 # RAW codec needs exceptions. Due to that, it is a separate target. Its us
age can be | 70 # RAW codec needs exceptions. Due to that, it is a separate target. Its us
age can be |
| 78 # controlled by skia_codec_decodes_raw flag. | 71 # controlled by skia_codec_decodes_raw flag. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 ['skia_os == "ios" or skia_os == "mac"', { | 112 ['skia_os == "ios" or skia_os == "mac"', { |
| 120 'xcode_settings': { | 113 'xcode_settings': { |
| 121 'OTHER_CFLAGS': ['-fexceptions'], | 114 'OTHER_CFLAGS': ['-fexceptions'], |
| 122 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 115 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
| 123 }, | 116 }, |
| 124 }], | 117 }], |
| 125 ], | 118 ], |
| 126 }, | 119 }, |
| 127 ], | 120 ], |
| 128 } | 121 } |
| OLD | NEW |