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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
63 'type': 'static_library', | 63 'type': 'static_library', |
64 'include_dirs': ['.'], | 64 'include_dirs': ['.'], |
65 'sources': [ | 65 'sources': [ |
66 'dsp/dec_neon.c', | 66 'dsp/dec_neon.c', |
67 ], | 67 ], |
68 'conditions': [ | 68 'conditions': [ |
69 ['armv7 == 1', { | 69 ['armv7 == 1', { |
70 # behavior similar dsp_neon.c.neon in an Android.mk | 70 # behavior similar dsp_neon.c.neon in an Android.mk |
71 'cflags!': [ '-mfpu=vfpv3-d16' ], | 71 'cflags!': [ '-mfpu=vfpv3-d16' ], |
72 'cflags': [ '-mfpu=neon' ], | 72 'cflags': [ '-mfpu=neon' ], |
73 },{ # "armv7 != 1" | |
74 'type': 'none', | |
Nico
2012/08/10 23:14:33
nit: I believe some generators might choke on type
jzern
2012/08/11 02:07:54
Sounds reasonable. I hid the rest under armv7.
| |
73 }], | 75 }], |
74 ['order_profiling != 0', { | 76 ['order_profiling != 0', { |
75 'target_conditions' : [ | 77 'target_conditions' : [ |
76 ['_toolset=="target"', { | 78 ['_toolset=="target"', { |
77 'cflags!': [ '-finstrument-functions' ], | 79 'cflags!': [ '-finstrument-functions' ], |
78 }], | 80 }], |
79 ], | 81 ], |
80 }], | 82 }], |
81 ], | 83 ], |
82 }, | 84 }, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 'link_settings': { | 153 'link_settings': { |
152 'libraries': [ | 154 'libraries': [ |
153 '-lwebp', | 155 '-lwebp', |
154 ], | 156 ], |
155 }, | 157 }, |
156 } | 158 } |
157 ], | 159 ], |
158 }], | 160 }], |
159 ], | 161 ], |
160 } | 162 } |
OLD | NEW |