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 'dependencies' : [ | 10 'dependencies' : [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ['_toolset=="target"', { | 59 ['_toolset=="target"', { |
60 'cflags!': [ '-finstrument-functions' ], | 60 'cflags!': [ '-finstrument-functions' ], |
61 }], | 61 }], |
62 ], | 62 ], |
63 }], | 63 }], |
64 ], | 64 ], |
65 }, | 65 }, |
66 { | 66 { |
67 'target_name': 'libwebp_dsp_neon', | 67 'target_name': 'libwebp_dsp_neon', |
68 'conditions': [ | 68 'conditions': [ |
69 ['target_arch == "arm" and arm_version >= 7', { | 69 ['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_ne
on_optional == 1)', { |
70 'type': 'static_library', | 70 'type': 'static_library', |
71 'include_dirs': ['.'], | 71 'include_dirs': ['.'], |
72 'sources': [ | 72 'sources': [ |
73 'dsp/dec_neon.c', | 73 'dsp/dec_neon.c', |
74 'dsp/enc_neon.c', | 74 'dsp/enc_neon.c', |
75 'dsp/upsampling_neon.c', | 75 'dsp/upsampling_neon.c', |
76 ], | 76 ], |
77 # behavior similar to *.c.neon in an Android.mk | 77 # behavior similar to *.c.neon in an Android.mk |
78 'cflags!': [ '-mfpu=vfpv3-d16' ], | 78 'cflags!': [ '-mfpu=vfpv3-d16' ], |
79 'cflags': [ '-mfpu=neon' ], | 79 'cflags': [ '-mfpu=neon' ], |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 ], | 144 ], |
145 'direct_dependent_settings': { | 145 'direct_dependent_settings': { |
146 'include_dirs': ['.'], | 146 'include_dirs': ['.'], |
147 }, | 147 }, |
148 'conditions': [ | 148 'conditions': [ |
149 ['OS!="win"', {'product_name': 'webp'}], | 149 ['OS!="win"', {'product_name': 'webp'}], |
150 ], | 150 ], |
151 }, | 151 }, |
152 ], | 152 ], |
153 } | 153 } |
OLD | NEW |