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

Side by Side Diff: build/common.gypi

Issue 115874: Add debugging symbols to official Linux Chrome builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 # By default linux does not use views. To turn on views in Linux 56 # By default linux does not use views. To turn on views in Linux
57 # set the variable GYP_DEFINES to "toolkit_views=1", or modify 57 # set the variable GYP_DEFINES to "toolkit_views=1", or modify
58 # ~/.gyp/include.gypi . 58 # ~/.gyp/include.gypi .
59 'toolkit_views%': 0, 59 'toolkit_views%': 0,
60 }, 60 },
61 'target_defaults': { 61 'target_defaults': {
62 'conditions': [ 62 'conditions': [
63 ['branding=="Chrome"', { 63 ['branding=="Chrome"', {
64 'defines': ['GOOGLE_CHROME_BUILD'], 64 'defines': ['GOOGLE_CHROME_BUILD'],
65 'conditions': [
66 ['OS=="linux"', {
67 'cflags': [ '-gstabs' ],
68 }],
69 ],
65 }, { # else: branding!="Chrome" 70 }, { # else: branding!="Chrome"
66 'defines': ['CHROMIUM_BUILD'], 71 'defines': ['CHROMIUM_BUILD'],
67 }], 72 }],
68 ['toolkit_views==1', { 73 ['toolkit_views==1', {
69 'defines': ['TOOLKIT_VIEWS=1'], 74 'defines': ['TOOLKIT_VIEWS=1'],
70 }], 75 }],
71 ['coverage!=0', { 76 ['coverage!=0', {
72 'conditions': [ 77 'conditions': [
73 ['OS=="mac"', { 78 ['OS=="mac"', {
74 'xcode_settings': { 79 'xcode_settings': {
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 # settings in target dicts. SYMROOT is a special case, because many other 491 # settings in target dicts. SYMROOT is a special case, because many other
487 # Xcode variables depend on it, including variables such as 492 # Xcode variables depend on it, including variables such as
488 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 493 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
489 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 494 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
490 # files to appear (when present) in the UI as actual files and not red 495 # files to appear (when present) in the UI as actual files and not red
491 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 496 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
492 # and therefore SYMROOT, needs to be set at the project level. 497 # and therefore SYMROOT, needs to be set at the project level.
493 'SYMROOT': '<(DEPTH)/xcodebuild', 498 'SYMROOT': '<(DEPTH)/xcodebuild',
494 }, 499 },
495 } 500 }
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