| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', { | 8 ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', { |
| 9 'cflags!': [ '-Os' ], | 9 'cflags!': [ '-Os' ], |
| 10 'cflags': [ '-O2' ], | 10 'cflags': [ '-O2' ], |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 'dsp/lossless_neon.c', | 174 'dsp/lossless_neon.c', |
| 175 'dsp/rescaler_neon.c', | 175 'dsp/rescaler_neon.c', |
| 176 'dsp/upsampling_neon.c', | 176 'dsp/upsampling_neon.c', |
| 177 ], | 177 ], |
| 178 'conditions': [ | 178 'conditions': [ |
| 179 ['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or ar
m_neon_optional == 1)', { | 179 ['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or ar
m_neon_optional == 1)', { |
| 180 # behavior similar to *.c.neon in an Android.mk | 180 # behavior similar to *.c.neon in an Android.mk |
| 181 'cflags!': [ '-mfpu=vfpv3-d16' ], | 181 'cflags!': [ '-mfpu=vfpv3-d16' ], |
| 182 'cflags': [ '-mfpu=neon' ], | 182 'cflags': [ '-mfpu=neon' ], |
| 183 }], | 183 }], |
| 184 ['target_arch == "arm64"', { | 184 ['target_arch == "arm64" and clang != 1', { |
| 185 # avoid an ICE with gcc-4.9: b/15574841 | 185 # avoid an ICE with gcc-4.9: b/15574841 |
| 186 'cflags': [ '-frename-registers' ], | 186 'cflags': [ '-frename-registers' ], |
| 187 }], | 187 }], |
| 188 ] | 188 ] |
| 189 }, { | 189 }, { |
| 190 'type': 'none', | 190 'type': 'none', |
| 191 }], | 191 }], |
| 192 ], | 192 ], |
| 193 }, | 193 }, |
| 194 { | 194 { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ], | 261 ], |
| 262 'direct_dependent_settings': { | 262 'direct_dependent_settings': { |
| 263 'include_dirs': ['.'], | 263 'include_dirs': ['.'], |
| 264 }, | 264 }, |
| 265 'conditions': [ | 265 'conditions': [ |
| 266 ['OS!="win"', {'product_name': 'webp'}], | 266 ['OS!="win"', {'product_name': 'webp'}], |
| 267 ], | 267 ], |
| 268 }, | 268 }, |
| 269 ], | 269 ], |
| 270 } | 270 } |
| OLD | NEW |