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

Side by Side Diff: build/common.gypi

Issue 288743002: Pass -gline-tables-only when building with ASan on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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) 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 4439 matching lines...) Expand 10 before | Expand all | Expand 10 after
4450 'variables': { 4450 'variables': {
4451 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin', 4451 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin',
4452 }, 4452 },
4453 }], 4453 }],
4454 ['asan==1', { 4454 ['asan==1', {
4455 'xcode_settings': { 4455 'xcode_settings': {
4456 'OTHER_CFLAGS': [ 4456 'OTHER_CFLAGS': [
4457 '-fsanitize=address', 4457 '-fsanitize=address',
4458 '-mllvm -asan-globals=0', # http://crbug.com/352073 4458 '-mllvm -asan-globals=0', # http://crbug.com/352073
4459 '-w', # http://crbug.com/162783 4459 '-w', # http://crbug.com/162783
4460 '-gline-tables-only',
4460 ], 4461 ],
4461 }, 4462 },
4462 }], 4463 }],
4463 ['asan_coverage!=0', { 4464 ['asan_coverage!=0', {
4464 'target_conditions': [ 4465 'target_conditions': [
4465 ['_toolset=="target"', { 4466 ['_toolset=="target"', {
4466 'cflags': [ 4467 'cflags': [
4467 '-mllvm -asan-coverage=<(asan_coverage)', 4468 '-mllvm -asan-coverage=<(asan_coverage)',
4468 ], 4469 ],
4469 }], 4470 }],
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
5279 # settings in target dicts. SYMROOT is a special case, because many other 5280 # settings in target dicts. SYMROOT is a special case, because many other
5280 # Xcode variables depend on it, including variables such as 5281 # Xcode variables depend on it, including variables such as
5281 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5282 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5282 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5283 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5283 # files to appear (when present) in the UI as actual files and not red 5284 # files to appear (when present) in the UI as actual files and not red
5284 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5285 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5285 # and therefore SYMROOT, needs to be set at the project level. 5286 # and therefore SYMROOT, needs to be set at the project level.
5286 'SYMROOT': '<(DEPTH)/xcodebuild', 5287 'SYMROOT': '<(DEPTH)/xcodebuild',
5287 }, 5288 },
5288 } 5289 }
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