| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'libwebp_dec', | 8 'target_name': 'libwebp_dec', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'include_dirs': ['.'], | 10 'include_dirs': ['.'], |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 'conditions': [ | 63 'conditions': [ |
| 64 ['armv7 == 1', { | 64 ['target_arch == "arm" and arm_version >= 7', { |
| 65 'type': 'static_library', | 65 'type': 'static_library', |
| 66 'include_dirs': ['.'], | 66 'include_dirs': ['.'], |
| 67 'sources': [ | 67 'sources': [ |
| 68 'dsp/dec_neon.c', | 68 'dsp/dec_neon.c', |
| 69 'dsp/enc_neon.c', | 69 'dsp/enc_neon.c', |
| 70 'dsp/upsampling_neon.c', | 70 'dsp/upsampling_neon.c', |
| 71 ], | 71 ], |
| 72 # behavior similar to *.c.neon in an Android.mk | 72 # behavior similar to *.c.neon in an Android.mk |
| 73 'cflags!': [ '-mfpu=vfpv3-d16' ], | 73 'cflags!': [ '-mfpu=vfpv3-d16' ], |
| 74 'cflags': [ '-mfpu=neon' ], | 74 'cflags': [ '-mfpu=neon' ], |
| 75 },{ # "armv7 != 1" | 75 },{ # "target_arch != "arm" or arm_version < 7" |
| 76 'type': 'none', | 76 'type': 'none', |
| 77 }], | 77 }], |
| 78 ['order_profiling != 0', { | 78 ['order_profiling != 0', { |
| 79 'target_conditions' : [ | 79 'target_conditions' : [ |
| 80 ['_toolset=="target"', { | 80 ['_toolset=="target"', { |
| 81 'cflags!': [ '-finstrument-functions' ], | 81 'cflags!': [ '-finstrument-functions' ], |
| 82 }], | 82 }], |
| 83 ], | 83 ], |
| 84 }], | 84 }], |
| 85 ], | 85 ], |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 ], | 139 ], |
| 140 'direct_dependent_settings': { | 140 'direct_dependent_settings': { |
| 141 'include_dirs': ['.'], | 141 'include_dirs': ['.'], |
| 142 }, | 142 }, |
| 143 'conditions': [ | 143 'conditions': [ |
| 144 ['OS!="win"', {'product_name': 'webp'}], | 144 ['OS!="win"', {'product_name': 'webp'}], |
| 145 ], | 145 ], |
| 146 }, | 146 }, |
| 147 ], | 147 ], |
| 148 } | 148 } |
| OLD | NEW |