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

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

Issue 1289623006: build: On Android, disable LTO for specific targets only when targeting GCC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarify comment in build/common.gypi; add TODO to use -lto_library Created 5 years, 4 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_library_opts.gyp ('k') | third_party/opus/opus.gyp » ('j') | 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 'dependencies' : [ 10 'dependencies' : [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 }], 76 }],
77 ], 77 ],
78 }], 78 }],
79 ], 79 ],
80 }, 80 },
81 { 81 {
82 'target_name': 'libwebp_dsp_neon', 82 'target_name': 'libwebp_dsp_neon',
83 'includes' : [ 83 'includes' : [
84 # Disable LTO due to Neon issues. 84 # Disable LTO due to Neon issues.
85 # crbug.com/408997 85 # crbug.com/408997
86 '../../build/android/disable_lto.gypi', 86 '../../build/android/disable_gcc_lto.gypi',
87 ], 87 ],
88 'conditions': [ 88 'conditions': [
89 # iOS uses the same project to generate build project for both device 89 # iOS uses the same project to generate build project for both device
90 # and simulator and do not use "target_arch" variable. Other platform 90 # and simulator and do not use "target_arch" variable. Other platform
91 # set it correctly. 91 # set it correctly.
92 ['OS == "ios" or (target_arch == "arm" and arm_version >= 7 and (arm_neo n == 1 or arm_neon_optional == 1)) or (target_arch == "arm64")', { 92 ['OS == "ios" or (target_arch == "arm" and arm_version >= 7 and (arm_neo n == 1 or arm_neon_optional == 1)) or (target_arch == "arm64")', {
93 'type': 'static_library', 93 'type': 'static_library',
94 'include_dirs': ['.'], 94 'include_dirs': ['.'],
95 'sources': [ 95 'sources': [
96 'dsp/dec_neon.c', 96 'dsp/dec_neon.c',
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ], 197 ],
198 'direct_dependent_settings': { 198 'direct_dependent_settings': {
199 'include_dirs': ['.'], 199 'include_dirs': ['.'],
200 }, 200 },
201 'conditions': [ 201 'conditions': [
202 ['OS!="win"', {'product_name': 'webp'}], 202 ['OS!="win"', {'product_name': 'webp'}],
203 ], 203 ],
204 }, 204 },
205 ], 205 ],
206 } 206 }
OLDNEW
« no previous file with comments | « skia/skia_library_opts.gyp ('k') | third_party/opus/opus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698