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

Side by Side Diff: build/common.gypi

Issue 6324007: clang/linux: Build with -g0 if fastbuild=1 is set (e.g. on the buildbots) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 }, 542 },
543 'VCCLCompilerTool': { 543 'VCCLCompilerTool': {
544 'DebugInformationFormat': '0', 544 'DebugInformationFormat': '0',
545 } 545 }
546 } 546 }
547 }, { # else: OS != "win", generate less debug information. 547 }, { # else: OS != "win", generate less debug information.
548 'variables': { 548 'variables': {
549 'debug_extra_cflags': '-g1', 549 'debug_extra_cflags': '-g1',
550 }, 550 },
551 }], 551 }],
552 # Clang creates chubby debug information, which makes linking very
553 # slow. For now, don't create debug information with clang. See
554 # http://crbug.com/70000
555 ['OS=="linux" and clang==1', {
556 'variables': {
557 'debug_extra_cflags': '-g0',
558 },
559 }],
552 ], # conditions for fastbuild. 560 ], # conditions for fastbuild.
553 }], # fastbuild!=0 561 }], # fastbuild!=0
554 ['selinux==1', { 562 ['selinux==1', {
555 'defines': ['CHROMIUM_SELINUX=1'], 563 'defines': ['CHROMIUM_SELINUX=1'],
556 }], 564 }],
557 ['win_use_allocator_shim==0', { 565 ['win_use_allocator_shim==0', {
558 'conditions': [ 566 'conditions': [
559 ['OS=="win"', { 567 ['OS=="win"', {
560 'defines': ['NO_TCMALLOC'], 568 'defines': ['NO_TCMALLOC'],
561 }], 569 }],
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 # and therefore SYMROOT, needs to be set at the project level. 1512 # and therefore SYMROOT, needs to be set at the project level.
1505 'SYMROOT': '<(DEPTH)/xcodebuild', 1513 'SYMROOT': '<(DEPTH)/xcodebuild',
1506 }, 1514 },
1507 } 1515 }
1508 1516
1509 # Local Variables: 1517 # Local Variables:
1510 # tab-width:2 1518 # tab-width:2
1511 # indent-tabs-mode:nil 1519 # indent-tabs-mode:nil
1512 # End: 1520 # End:
1513 # vim: set expandtab tabstop=2 shiftwidth=2: 1521 # vim: set expandtab tabstop=2 shiftwidth=2:
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