| 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 | 5 |
| 6 # GYP file for images project. | 6 # GYP file for images project. |
| 7 { | 7 { |
| 8 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'images', | 10 'target_name': 'images', |
| 11 'product_name': 'skia_images', | 11 'product_name': 'skia_images', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'standalone_static_library': 1, | 13 'standalone_static_library': 1, |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'core.gyp:*', | 15 'core.gyp:*', |
| 16 'giflib.gyp:giflib', | 16 'giflib.gyp:giflib', |
| 17 'libjpeg.gyp:*', | 17 'libjpeg-turbo.gyp:libjpeg-turbo', |
| 18 'etc1.gyp:libetc1', | 18 'etc1.gyp:libetc1', |
| 19 'ktx.gyp:libSkKTX', | 19 'ktx.gyp:libSkKTX', |
| 20 'libwebp.gyp:libwebp', | 20 'libwebp.gyp:libwebp', |
| 21 'utils.gyp:utils', | 21 'utils.gyp:utils', |
| 22 ], | 22 ], |
| 23 'include_dirs': [ | 23 'include_dirs': [ |
| 24 '../include/images', | 24 '../include/images', |
| 25 '../include/private', | 25 '../include/private', |
| 26 '../src/lazy', | 26 '../src/lazy', |
| 27 # for access to SkErrorInternals.h | 27 # for access to SkErrorInternals.h |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 # SkImageDecoder_libpng includes png.h. | 135 # SkImageDecoder_libpng includes png.h. |
| 136 # In the version of libpng that we use on Android (1.2.46), | 136 # In the version of libpng that we use on Android (1.2.46), |
| 137 # there is a missing space between a literal and an identifier | 137 # there is a missing space between a literal and an identifier |
| 138 # in png.h, triggering a warning in C++11. | 138 # in png.h, triggering a warning in C++11. |
| 139 '-Wno-literal-suffix', | 139 '-Wno-literal-suffix', |
| 140 ], | 140 ], |
| 141 'conditions': [ | 141 'conditions': [ |
| 142 [ 'skia_android_framework == 0', { | 142 [ 'skia_android_framework == 0', { |
| 143 'export_dependent_settings': [ | 143 'export_dependent_settings': [ |
| 144 'android_deps.gyp:png', | 144 'android_deps.gyp:png', |
| 145 'libjpeg.gyp:*' | |
| 146 ], | 145 ], |
| 147 }, { | 146 }, { |
| 148 # The android framework disables these decoders as they are of lit
tle use to | 147 # The android framework disables these decoders as they are of lit
tle use to |
| 149 # Java applications that can't take advantage of the compressed fo
rmats. | 148 # Java applications that can't take advantage of the compressed fo
rmats. |
| 150 'sources!': [ | 149 'sources!': [ |
| 151 '../src/images/SkImageDecoder_pkm.cpp', | 150 '../src/images/SkImageDecoder_pkm.cpp', |
| 152 '../src/images/SkImageDecoder_ktx.cpp', | 151 '../src/images/SkImageDecoder_ktx.cpp', |
| 153 '../src/images/SkImageDecoder_astc.cpp', | 152 '../src/images/SkImageDecoder_astc.cpp', |
| 154 ], | 153 ], |
| 155 }], | 154 }], |
| (...skipping 11 matching lines...) Expand all Loading... |
| 167 }], | 166 }], |
| 168 ], | 167 ], |
| 169 'direct_dependent_settings': { | 168 'direct_dependent_settings': { |
| 170 'include_dirs': [ | 169 'include_dirs': [ |
| 171 '../include/images', | 170 '../include/images', |
| 172 ], | 171 ], |
| 173 }, | 172 }, |
| 174 }, | 173 }, |
| 175 ], | 174 ], |
| 176 } | 175 } |
| OLD | NEW |