| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 'target_conditions' : [ | 53 'target_conditions' : [ |
| 54 ['_toolset=="target"', { | 54 ['_toolset=="target"', { |
| 55 'cflags!': [ '-finstrument-functions' ], | 55 'cflags!': [ '-finstrument-functions' ], |
| 56 }], | 56 }], |
| 57 ], | 57 ], |
| 58 }], | 58 }], |
| 59 ], | 59 ], |
| 60 }, | 60 }, |
| 61 { | 61 { |
| 62 'target_name': 'libwebp_dsp_neon', | 62 'target_name': 'libwebp_dsp_neon', |
| 63 'type': 'static_library', | |
| 64 'include_dirs': ['.'], | |
| 65 'sources': [ | |
| 66 'dsp/dec_neon.c', | |
| 67 ], | |
| 68 'conditions': [ | 63 'conditions': [ |
| 69 ['armv7 == 1', { | 64 ['armv7 == 1', { |
| 65 'type': 'static_library', |
| 66 'include_dirs': ['.'], |
| 67 'sources': [ |
| 68 'dsp/dec_neon.c', |
| 69 ], |
| 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', |
| 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 |