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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 ['skia_os == "android"', { | 60 ['skia_os == "android"', { |
61 'dependencies' : [ | 61 'dependencies' : [ |
62 'android_deps.gyp:cpu_features', | 62 'android_deps.gyp:cpu_features', |
63 ], | 63 ], |
64 }], | 64 }], |
65 ], | 65 ], |
66 }, | 66 }, |
67 { | 67 { |
68 'target_name': 'libwebp_dsp_neon', | 68 'target_name': 'libwebp_dsp_neon', |
69 'conditions': [ | 69 'conditions': [ |
70 ['armv7 == 1', { | 70 ['skia_os in ["android", "ios"]', { |
borenet
2013/06/11 12:20:07
What about x86 Android? I think it might be bette
| |
71 'type': 'static_library', | 71 'type': 'static_library', |
72 'include_dirs': [ | 72 'include_dirs': [ |
73 '../third_party/externals/libwebp', | 73 '../third_party/externals/libwebp', |
74 ], | 74 ], |
75 'sources': [ | 75 'sources': [ |
76 '../third_party/externals/libwebp/src/dsp/dec_neon.c', | 76 '../third_party/externals/libwebp/src/dsp/dec_neon.c', |
77 '../third_party/externals/libwebp/src/dsp/enc_neon.c', | 77 '../third_party/externals/libwebp/src/dsp/enc_neon.c', |
78 '../third_party/externals/libwebp/src/dsp/upsampling_neon.c', | 78 '../third_party/externals/libwebp/src/dsp/upsampling_neon.c', |
79 ], | 79 ], |
80 # behavior similar dsp_neon.c.neon in an Android.mk | 80 # behavior similar dsp_neon.c.neon in an Android.mk |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
167 'link_settings': { | 167 'link_settings': { |
168 'libraries': [ | 168 'libraries': [ |
169 '-lwebp', | 169 '-lwebp', |
170 ], | 170 ], |
171 }, | 171 }, |
172 } | 172 } |
173 ], | 173 ], |
174 }], | 174 }], |
175 ], | 175 ], |
176 } | 176 } |
OLD | NEW |