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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 'dsp/cpu.c', | 54 'dsp/cpu.c', |
55 'dsp/dec.c', | 55 'dsp/dec.c', |
56 'dsp/dec_neon.c', | 56 'dsp/dec_neon.c', |
57 'dsp/dec_sse2.c', | 57 'dsp/dec_sse2.c', |
58 'dsp/enc.c', | 58 'dsp/enc.c', |
59 'dsp/enc_sse2.c', | 59 'dsp/enc_sse2.c', |
60 'dsp/upsampling.c', | 60 'dsp/upsampling.c', |
61 'dsp/upsampling_sse2.c', | 61 'dsp/upsampling_sse2.c', |
62 'dsp/yuv.c', | 62 'dsp/yuv.c', |
63 ], | 63 ], |
| 64 'conditions': [ |
| 65 ['order_profiling != 0', { |
| 66 'target_conditions' : [ |
| 67 ['_toolset=="target"', { |
| 68 'cflags!': [ '-finstrument-functions' ], |
| 69 }], |
| 70 ], |
| 71 }], |
| 72 ], |
64 }, | 73 }, |
65 { | 74 { |
66 'target_name': 'libwebp_utils', | 75 'target_name': 'libwebp_utils', |
67 'type': 'static_library', | 76 'type': 'static_library', |
68 'include_dirs': ['.'], | 77 'include_dirs': ['.'], |
69 'sources': [ | 78 'sources': [ |
70 'utils/bit_reader.c', | 79 'utils/bit_reader.c', |
71 'utils/bit_writer.c', | 80 'utils/bit_writer.c', |
72 'utils/thread.c', | 81 'utils/thread.c', |
73 ], | 82 ], |
(...skipping 28 matching lines...) Expand all Loading... |
102 'link_settings': { | 111 'link_settings': { |
103 'libraries': [ | 112 'libraries': [ |
104 '-lwebp', | 113 '-lwebp', |
105 ], | 114 ], |
106 }, | 115 }, |
107 } | 116 } |
108 ], | 117 ], |
109 }], | 118 }], |
110 ], | 119 ], |
111 } | 120 } |
OLD | NEW |