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 26 matching lines...) Expand all Loading... |
37 'dsp/dec_sse2.c', | 37 'dsp/dec_sse2.c', |
38 'dsp/enc.c', | 38 'dsp/enc.c', |
39 'dsp/enc_sse2.c', | 39 'dsp/enc_sse2.c', |
40 'dsp/lossless.c', | 40 'dsp/lossless.c', |
41 'dsp/upsampling.c', | 41 'dsp/upsampling.c', |
42 'dsp/upsampling_sse2.c', | 42 'dsp/upsampling_sse2.c', |
43 'dsp/yuv.c', | 43 'dsp/yuv.c', |
44 ], | 44 ], |
45 'conditions': [ | 45 'conditions': [ |
46 ['OS == "android"', { | 46 ['OS == "android"', { |
47 'dependencies': [ | 47 'includes': [ '../../build/android/cpufeatures.gypi' ], |
48 '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features', | |
49 ], | |
50 }], | 48 }], |
51 ['order_profiling != 0', { | 49 ['order_profiling != 0', { |
52 'target_conditions' : [ | 50 'target_conditions' : [ |
53 ['_toolset=="target"', { | 51 ['_toolset=="target"', { |
54 'cflags!': [ '-finstrument-functions' ], | 52 'cflags!': [ '-finstrument-functions' ], |
55 }], | 53 }], |
56 ], | 54 ], |
57 }], | 55 }], |
58 ], | 56 ], |
59 }, | 57 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 'link_settings': { | 150 'link_settings': { |
153 'libraries': [ | 151 'libraries': [ |
154 '-lwebp', | 152 '-lwebp', |
155 ], | 153 ], |
156 }, | 154 }, |
157 } | 155 } |
158 ], | 156 ], |
159 }], | 157 }], |
160 ], | 158 ], |
161 } | 159 } |
OLD | NEW |