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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 '../src/codec/SkWebpCodec.cpp', | 56 '../src/codec/SkWebpCodec.cpp', |
57 ], | 57 ], |
58 'direct_dependent_settings': { | 58 'direct_dependent_settings': { |
59 'include_dirs': [ | 59 'include_dirs': [ |
60 '../include/codec', | 60 '../include/codec', |
61 ], | 61 ], |
62 }, | 62 }, |
63 'defines': [ | 63 'defines': [ |
64 'TURBO_HAS_SKIP', | 64 'TURBO_HAS_SKIP', |
65 ], | 65 ], |
66 'conditions': [ | |
67 ['skia_codec_decodes_raw', { | |
68 'dependencies': [ | |
69 'raw_codec', | |
70 ], | |
71 },], | |
72 ], | |
73 }, { | |
74 'target_name': 'raw_codec', | |
scroggo
2016/01/14 15:26:38
Please add a comment here and elsewhere (e.g. wher
yujieqin
2016/01/15 14:49:30
Comments added.
| |
75 'product_name': 'raw_codec', | |
76 'type': 'static_library', | |
77 'dependencies': [ | |
78 'core.gyp:*', | |
79 'dng_sdk.gyp:dng_sdk-selector', | |
80 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | |
81 'piex.gyp:piex-selector', | |
82 ], | |
83 'cflags':[ | |
84 '-fexceptions', | |
85 ], | |
86 'include_dirs': [ | |
87 '../include/codec', | |
88 '../include/private', | |
89 '../src/codec', | |
90 '../src/core', | |
91 ], | |
92 'sources': [ | |
93 '../src/codec/SkRawAdapterCodec.cpp', | |
94 '../src/codec/SkRawCodec.cpp', | |
95 ], | |
96 'direct_dependent_settings': { | |
97 'include_dirs': [ | |
98 '../include/codec', | |
99 ], | |
100 'defines': [ | |
101 'SK_CODEC_DECODES_RAW', | |
102 ], | |
103 }, | |
104 'defines': [ | |
105 'SK_CODEC_DECODES_RAW', | |
106 'TURBO_HAS_SKIP', | |
scroggo
2016/01/14 15:26:38
Is this necessary here? It does not directly check
yujieqin
2016/01/15 14:49:30
Removed.
| |
107 ], | |
108 'conditions': [ | |
109 ['OS == "ios" or OS == "mac"', { | |
110 'xcode_settings': { | |
111 'OTHER_CFLAGS': ['-fexceptions'], | |
112 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | |
113 }, | |
114 }], | |
115 ], | |
66 }, | 116 }, |
67 ], | 117 ], |
68 } | 118 } |
OLD | NEW |