OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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', { |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'libwebp_enc', | 13 'target_name': 'libwebp_enc', |
14 'type': '<(library)', | 14 'type': 'static_library', |
15 'include_dirs': ['.'], | 15 'include_dirs': ['.'], |
16 'sources': [ | 16 'sources': [ |
17 'enc/analysis.c', | 17 'enc/analysis.c', |
18 'enc/bit_writer.c', | 18 'enc/bit_writer.c', |
19 'enc/config.c', | 19 'enc/config.c', |
20 'enc/cost.c', | 20 'enc/cost.c', |
21 'enc/dsp.c', | 21 'enc/dsp.c', |
22 'enc/filter.c', | 22 'enc/filter.c', |
23 'enc/frame.c', | 23 'enc/frame.c', |
24 'enc/iterator.c', | 24 'enc/iterator.c', |
25 'enc/picture.c', | 25 'enc/picture.c', |
26 'enc/quant.c', | 26 'enc/quant.c', |
27 'enc/syntax.c', | 27 'enc/syntax.c', |
28 'enc/tree.c', | 28 'enc/tree.c', |
29 'enc/webpenc.c' | 29 'enc/webpenc.c' |
30 ], | 30 ], |
31 }, | 31 }, |
32 { | 32 { |
33 'target_name': 'libwebp_dec', | 33 'target_name': 'libwebp_dec', |
34 'type': '<(library)', | 34 'type': 'static_library', |
35 'include_dirs': ['.'], | 35 'include_dirs': ['.'], |
36 'sources': [ | 36 'sources': [ |
37 'dec/bits.c', | 37 'dec/bits.c', |
38 'dec/dsp.c', | 38 'dec/dsp.c', |
39 'dec/frame.c', | 39 'dec/frame.c', |
40 'dec/idec.c', | 40 'dec/idec.c', |
41 'dec/quant.c', | 41 'dec/quant.c', |
42 'dec/tree.c', | 42 'dec/tree.c', |
43 'dec/vp8.c', | 43 'dec/vp8.c', |
44 'dec/webp.c', | 44 'dec/webp.c', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 ], | 79 ], |
80 }], | 80 }], |
81 ], | 81 ], |
82 } | 82 } |
83 | 83 |
84 # Local Variables: | 84 # Local Variables: |
85 # tab-width:2 | 85 # tab-width:2 |
86 # indent-tabs-mode:nil | 86 # indent-tabs-mode:nil |
87 # End: | 87 # End: |
88 # vim: set expandtab tabstop=2 shiftwidth=2: | 88 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |