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

Side by Side Diff: build/common.gypi

Issue 228003006: Remove dependency on --gc-sections for most Android debug targets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome_android.gypi » ('j') | chrome/chrome_android.gypi » ('J')
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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after
3162 'defines': [ 3162 'defines': [
3163 '_DEBUG', 3163 '_DEBUG',
3164 ], 3164 ],
3165 'cflags': [ 3165 'cflags': [
3166 '-O>(debug_optimize)', 3166 '-O>(debug_optimize)',
3167 '-g', 3167 '-g',
3168 ], 3168 ],
3169 'conditions' : [ 3169 'conditions' : [
3170 ['OS=="android"', { 3170 ['OS=="android"', {
3171 'ldflags': [ 3171 'ldflags': [
3172 # Only link with needed input sections. This is to avoid
3173 # getting undefined reference to __cxa_bad_typeid in the CDU
3174 # library.
3175 '-Wl,--gc-sections',
3176 # Warn in case of text relocations. 3172 # Warn in case of text relocations.
3177 '-Wl,--warn-shared-textrel', 3173 '-Wl,--warn-shared-textrel',
3178 ], 3174 ],
3179 }], 3175 }],
3180 ['OS=="android" and android_full_debug==0', { 3176 ['OS=="android" and android_full_debug==0', {
3181 # Some configurations are copied from Release_Base to reduce 3177 # Some configurations are copied from Release_Base to reduce
3182 # the binary size. 3178 # the binary size.
3183 'variables': { 3179 'variables': {
3184 'debug_optimize%': 's', 3180 'debug_optimize%': 's',
3185 }, 3181 },
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
5263 # settings in target dicts. SYMROOT is a special case, because many other 5259 # settings in target dicts. SYMROOT is a special case, because many other
5264 # Xcode variables depend on it, including variables such as 5260 # Xcode variables depend on it, including variables such as
5265 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5261 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5266 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5262 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5267 # files to appear (when present) in the UI as actual files and not red 5263 # files to appear (when present) in the UI as actual files and not red
5268 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5264 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5269 # and therefore SYMROOT, needs to be set at the project level. 5265 # and therefore SYMROOT, needs to be set at the project level.
5270 'SYMROOT': '<(DEPTH)/xcodebuild', 5266 'SYMROOT': '<(DEPTH)/xcodebuild',
5271 }, 5267 },
5272 } 5268 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_android.gypi » ('j') | chrome/chrome_android.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698