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

Side by Side Diff: build/common.gypi

Issue 198363002: Enable debugging symbols to always use DWARF-4 format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing -fvar-tracking-* flags for now. Created 6 years, 9 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 | « no previous file | 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 # 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 3025 matching lines...) Expand 10 before | Expand all | Expand 10 after
3036 'configurations': { 3036 'configurations': {
3037 'Debug_Base': { 3037 'Debug_Base': {
3038 'variables': { 3038 'variables': {
3039 'debug_optimize%': '0', 3039 'debug_optimize%': '0',
3040 }, 3040 },
3041 'defines': [ 3041 'defines': [
3042 '_DEBUG', 3042 '_DEBUG',
3043 ], 3043 ],
3044 'cflags': [ 3044 'cflags': [
3045 '-O>(debug_optimize)', 3045 '-O>(debug_optimize)',
3046 '-g', 3046 '-g3', '-gdwarf-4',
Mark Mentovai 2014/03/13 13:12:04 These are separate options, can you put them on se
Mark Mentovai 2014/03/13 13:12:04 How do you expect this to interact with the “fastb
mithro-old 2014/03/16 11:09:43 Done.
mithro-old 2014/03/16 11:09:43 Changed -g3 to be conditional on fastbuild==X.
3047 ], 3047 ],
3048 'conditions' : [ 3048 'conditions' : [
3049 ['OS=="android"', { 3049 ['OS=="android"', {
3050 'ldflags': [ 3050 'ldflags': [
3051 '-Wl,--fatal-warnings', 3051 '-Wl,--fatal-warnings',
3052 # Only link with needed input sections. This is to avoid 3052 # Only link with needed input sections. This is to avoid
3053 # getting undefined reference to __cxa_bad_typeid in the CDU 3053 # getting undefined reference to __cxa_bad_typeid in the CDU
3054 # library. 3054 # library.
3055 '-Wl,--gc-sections', 3055 '-Wl,--gc-sections',
3056 # Warn in case of text relocations. 3056 # Warn in case of text relocations.
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after
5044 # settings in target dicts. SYMROOT is a special case, because many other 5044 # settings in target dicts. SYMROOT is a special case, because many other
5045 # Xcode variables depend on it, including variables such as 5045 # Xcode variables depend on it, including variables such as
5046 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5046 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5047 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5047 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5048 # files to appear (when present) in the UI as actual files and not red 5048 # files to appear (when present) in the UI as actual files and not red
5049 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5049 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5050 # and therefore SYMROOT, needs to be set at the project level. 5050 # and therefore SYMROOT, needs to be set at the project level.
5051 'SYMROOT': '<(DEPTH)/xcodebuild', 5051 'SYMROOT': '<(DEPTH)/xcodebuild',
5052 }, 5052 },
5053 } 5053 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698