OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'use_system_libwebp%': 0, | 7 'use_system_libwebp%': 0, |
8 }, | 8 }, |
9 'conditions': [ | 9 'conditions': [ |
10 ['use_system_libwebp==0', { | 10 ['use_system_libwebp==0', { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 '../third_party/externals/libwebp/src/enc/iterator.c', | 105 '../third_party/externals/libwebp/src/enc/iterator.c', |
106 '../third_party/externals/libwebp/src/enc/layer.c', | 106 '../third_party/externals/libwebp/src/enc/layer.c', |
107 '../third_party/externals/libwebp/src/enc/picture.c', | 107 '../third_party/externals/libwebp/src/enc/picture.c', |
108 '../third_party/externals/libwebp/src/enc/quant.c', | 108 '../third_party/externals/libwebp/src/enc/quant.c', |
109 '../third_party/externals/libwebp/src/enc/syntax.c', | 109 '../third_party/externals/libwebp/src/enc/syntax.c', |
110 '../third_party/externals/libwebp/src/enc/token.c', | 110 '../third_party/externals/libwebp/src/enc/token.c', |
111 '../third_party/externals/libwebp/src/enc/tree.c', | 111 '../third_party/externals/libwebp/src/enc/tree.c', |
112 '../third_party/externals/libwebp/src/enc/vp8l.c', | 112 '../third_party/externals/libwebp/src/enc/vp8l.c', |
113 '../third_party/externals/libwebp/src/enc/webpenc.c', | 113 '../third_party/externals/libwebp/src/enc/webpenc.c', |
114 ], | 114 ], |
| 115 'cflags': [ '-w' ], |
115 }, | 116 }, |
116 { | 117 { |
117 'target_name': 'libwebp_utils', | 118 'target_name': 'libwebp_utils', |
118 'type': 'static_library', | 119 'type': 'static_library', |
119 'include_dirs': [ | 120 'include_dirs': [ |
120 '../third_party/externals/libwebp', | 121 '../third_party/externals/libwebp', |
121 ], | 122 ], |
122 'sources': [ | 123 'sources': [ |
123 '../third_party/externals/libwebp/src/utils/bit_reader.c', | 124 '../third_party/externals/libwebp/src/utils/bit_reader.c', |
124 '../third_party/externals/libwebp/src/utils/bit_writer.c', | 125 '../third_party/externals/libwebp/src/utils/bit_writer.c', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 'link_settings': { | 168 'link_settings': { |
168 'libraries': [ | 169 'libraries': [ |
169 '-lwebp', | 170 '-lwebp', |
170 ], | 171 ], |
171 }, | 172 }, |
172 } | 173 } |
173 ], | 174 ], |
174 }], | 175 }], |
175 ], | 176 ], |
176 } | 177 } |
OLD | NEW |