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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 { | 67 { |
68 'target_name': 'libwebp_dsp_neon', | 68 'target_name': 'libwebp_dsp_neon', |
69 'conditions': [ | 69 'conditions': [ |
70 ['armv7 == 1', { | 70 ['armv7 == 1', { |
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', |
| 78 '../third_party/externals/libwebp/src/dsp/upsampling_neon.c', |
77 ], | 79 ], |
78 # behavior similar dsp_neon.c.neon in an Android.mk | 80 # behavior similar dsp_neon.c.neon in an Android.mk |
79 'cflags!': [ | 81 'cflags!': [ |
80 '-mfpu=vfpv3-d16', | 82 '-mfpu=vfpv3-d16', |
81 ], | 83 ], |
82 'cflags': [ '-mfpu=neon' ], | 84 'cflags': [ '-mfpu=neon' ], |
83 },{ # "armv7 != 1" | 85 },{ # "armv7 != 1" |
84 'type': 'none', | 86 'type': 'none', |
85 }], | 87 }], |
86 ], | 88 ], |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 'link_settings': { | 167 'link_settings': { |
166 'libraries': [ | 168 'libraries': [ |
167 '-lwebp', | 169 '-lwebp', |
168 ], | 170 ], |
169 }, | 171 }, |
170 } | 172 } |
171 ], | 173 ], |
172 }], | 174 }], |
173 ], | 175 ], |
174 } | 176 } |
OLD | NEW |