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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 '../src/codec/SkCodecImageGenerator.cpp', | 58 '../src/codec/SkCodecImageGenerator.cpp', |
59 '../src/ports/SkImageGenerator_skia.cpp', | 59 '../src/ports/SkImageGenerator_skia.cpp', |
60 ], | 60 ], |
61 'direct_dependent_settings': { | 61 'direct_dependent_settings': { |
62 'include_dirs': [ | 62 'include_dirs': [ |
63 '../include/codec', | 63 '../include/codec', |
64 ], | 64 ], |
65 }, | 65 }, |
66 'defines': [ | 66 'defines': [ |
67 # Turn on all of the codecs, since we know that we have all of the | |
68 # necessary dependencies. Clients that are missing some of the | |
69 # required decoding libraries may choose to turn the codecs on or | |
70 # off individually. | |
71 'SK_CODEC_DECODES_GIF', | |
72 'SK_CODEC_DECODES_JPEG', | |
73 'SK_CODEC_DECODES_PNG', | |
74 'SK_CODEC_DECODES_WEBP', | |
75 | |
76 # Turn on libjpeg-turbo optimizations since we know that the | 67 # Turn on libjpeg-turbo optimizations since we know that the |
77 # appropriate version of libjpeg-turbo is present. | 68 # appropriate version of libjpeg-turbo is present. |
78 'TURBO_HAS_CROP', | 69 'TURBO_HAS_CROP', |
79 'TURBO_HAS_SKIP', | 70 'TURBO_HAS_SKIP', |
80 'TURBO_HAS_565', | 71 'TURBO_HAS_565', |
81 ], | 72 ], |
82 'conditions': [ | 73 'conditions': [ |
83 ['skia_codec_decodes_raw', { | 74 ['skia_codec_decodes_raw', { |
84 'dependencies': [ | 75 'dependencies': [ |
85 'raw_codec', | 76 'raw_codec', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 ['skia_os == "ios" or skia_os == "mac"', { | 123 ['skia_os == "ios" or skia_os == "mac"', { |
133 'xcode_settings': { | 124 'xcode_settings': { |
134 'OTHER_CFLAGS': ['-fexceptions'], | 125 'OTHER_CFLAGS': ['-fexceptions'], |
135 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 126 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
136 }, | 127 }, |
137 }], | 128 }], |
138 ], | 129 ], |
139 }, | 130 }, |
140 ], | 131 ], |
141 } | 132 } |
OLD | NEW |