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

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

Issue 1657113002: libwebp: use -O2 on arm targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relocate gn config manipulation Created 4 years, 10 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 | « third_party/libwebp/BUILD.gn ('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 'target_defaults': {
7 'conditions': [
8 ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', {
9 'cflags!': [ '-Os' ],
10 'cflags': [ '-O2' ],
11 }],
12 ],
13 },
6 'targets': [ 14 'targets': [
7 { 15 {
8 'target_name': 'libwebp_dec', 16 'target_name': 'libwebp_dec',
9 'type': 'static_library', 17 'type': 'static_library',
10 'dependencies' : [ 18 'dependencies' : [
11 'libwebp_dsp', 19 'libwebp_dsp',
12 'libwebp_dsp_neon', 20 'libwebp_dsp_neon',
13 'libwebp_utils', 21 'libwebp_utils',
14 ], 22 ],
15 'include_dirs': ['.'], 23 'include_dirs': ['.'],
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 ], 289 ],
282 'direct_dependent_settings': { 290 'direct_dependent_settings': {
283 'include_dirs': ['.'], 291 'include_dirs': ['.'],
284 }, 292 },
285 'conditions': [ 293 'conditions': [
286 ['OS!="win"', {'product_name': 'webp'}], 294 ['OS!="win"', {'product_name': 'webp'}],
287 ], 295 ],
288 }, 296 },
289 ], 297 ],
290 } 298 }
OLDNEW
« no previous file with comments | « third_party/libwebp/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698