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

Side by Side Diff: third_party/opus/opus.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, 3 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/libwebp.gyp ('k') | third_party/sqlite/sqlite.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 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['target_arch=="arm" or target_arch=="arm64"', { 8 ['target_arch=="arm" or target_arch=="arm64"', {
9 'use_opus_fixed_point%': 1, 9 'use_opus_fixed_point%': 1,
10 }, { 10 }, {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ], 66 ],
67 'direct_dependent_settings': { 67 'direct_dependent_settings': {
68 'include_dirs': [ 68 'include_dirs': [
69 'src/include', 69 'src/include',
70 ], 70 ],
71 }, 71 },
72 'includes': [ 72 'includes': [
73 'opus_srcs.gypi', 73 'opus_srcs.gypi',
74 # Disable LTO due to ELF section name out of range 74 # Disable LTO due to ELF section name out of range
75 # crbug.com/422251 75 # crbug.com/422251
76 '../../build/android/disable_lto.gypi', 76 '../../build/android/disable_gcc_lto.gypi',
77 ], 77 ],
78 'sources': ['<@(opus_common_sources)'], 78 'sources': ['<@(opus_common_sources)'],
79 'conditions': [ 79 'conditions': [
80 ['OS!="win"', { 80 ['OS!="win"', {
81 'defines': [ 81 'defines': [
82 'HAVE_LRINT', 82 'HAVE_LRINT',
83 'HAVE_LRINTF', 83 'HAVE_LRINTF',
84 'VAR_ARRAYS', 84 'VAR_ARRAYS',
85 ], 85 ],
86 }, { 86 }, {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 'type': 'executable', 229 'type': 'executable',
230 'dependencies': [ 230 'dependencies': [
231 'opus' 231 'opus'
232 ], 232 ],
233 'sources': [ 233 'sources': [
234 'src/tests/test_opus_padding.c', 234 'src/tests/test_opus_padding.c',
235 ], 235 ],
236 }, # target test_opus_padding 236 }, # target test_opus_padding
237 ] 237 ]
238 } 238 }
OLDNEW
« no previous file with comments | « third_party/libwebp/libwebp.gyp ('k') | third_party/sqlite/sqlite.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698