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

Side by Side Diff: build/common.gypi

Issue 11667004: Enable real .dSYM files for ASan on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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) 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 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after
3367 # These should end with %, but there seems to be a bug with % in 3367 # These should end with %, but there seems to be a bug with % in
3368 # variables that are intended to be set to different values in 3368 # variables that are intended to be set to different values in
3369 # different targets, like these. 3369 # different targets, like these.
3370 'mac_pie': 1, # Most executables can be position-independent. 3370 'mac_pie': 1, # Most executables can be position-independent.
3371 # Strip debugging symbols from the target. 3371 # Strip debugging symbols from the target.
3372 'mac_strip': '<(mac_strip_release)', 3372 'mac_strip': '<(mac_strip_release)',
3373 'conditions': [ 3373 'conditions': [
3374 ['asan==1', { 3374 ['asan==1', {
3375 'conditions': [ 3375 'conditions': [
3376 ['mac_want_real_dsym=="default"', { 3376 ['mac_want_real_dsym=="default"', {
3377 # TODO(glider): use real dSYM files for ASan once 3377 'mac_real_dsym': 1,
3378 # http://crbug.com/166857 is fixed.
3379 'mac_real_dsym': 0,
3380 }, { 3378 }, {
3381 'mac_real_dsym': '<(mac_want_real_dsym)' 3379 'mac_real_dsym': '<(mac_want_real_dsym)'
3382 }], 3380 }],
3383 ], 3381 ],
3384 }, { 3382 }, {
3385 'conditions': [ 3383 'conditions': [
3386 ['mac_want_real_dsym=="default"', { 3384 ['mac_want_real_dsym=="default"', {
3387 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. 3385 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases.
3388 }, { 3386 }, {
3389 'mac_real_dsym': '<(mac_want_real_dsym)' 3387 'mac_real_dsym': '<(mac_want_real_dsym)'
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
3946 # settings in target dicts. SYMROOT is a special case, because many other 3944 # settings in target dicts. SYMROOT is a special case, because many other
3947 # Xcode variables depend on it, including variables such as 3945 # Xcode variables depend on it, including variables such as
3948 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3946 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3949 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3947 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3950 # files to appear (when present) in the UI as actual files and not red 3948 # files to appear (when present) in the UI as actual files and not red
3951 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3949 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3952 # and therefore SYMROOT, needs to be set at the project level. 3950 # and therefore SYMROOT, needs to be set at the project level.
3953 'SYMROOT': '<(DEPTH)/xcodebuild', 3951 'SYMROOT': '<(DEPTH)/xcodebuild',
3954 }, 3952 },
3955 } 3953 }
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