Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: third_party/libwebp/libwebp.gyp

Issue 14065005: Introduce arm_version to allow building for armv5, v6 or v7. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/skia.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « skia/skia.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698