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

Side by Side Diff: trunk/src/build/common.gypi

Issue 237203003: Revert 263625 "Set the default ASan options for executables buil..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/base/debug/sanitizer_options.cc ('k') | trunk/src/components/nacl.gyp » ('j') | 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 3639 matching lines...) Expand 10 before | Expand all | Expand 10 after
3650 # Functions interposed by the sanitizers can make ld think 3650 # Functions interposed by the sanitizers can make ld think
3651 # that some libraries aren't needed when they actually are, 3651 # that some libraries aren't needed when they actually are,
3652 # http://crbug.com/234010. As workaround, disable --as-needed. 3652 # http://crbug.com/234010. As workaround, disable --as-needed.
3653 '-Wl,--as-needed', 3653 '-Wl,--as-needed',
3654 ], 3654 ],
3655 'defines': [ 3655 'defines': [
3656 'MEMORY_TOOL_REPLACES_ALLOCATOR', 3656 'MEMORY_TOOL_REPLACES_ALLOCATOR',
3657 ], 3657 ],
3658 }], 3658 }],
3659 ], 3659 ],
3660 # TODO(glider): enable the default options on other systems.
3661 'conditions': [
3662 ['OS=="linux" and (chromeos==0 or target_arch!="ia32")', {
3663 'dependencies': [
3664 '<(DEPTH)/base/base.gyp:sanitizer_options',
3665 ],
3666 }],
3667 ],
3668 }], 3660 }],
3669 ['asan==1', { 3661 ['asan==1', {
3670 'target_conditions': [ 3662 'target_conditions': [
3671 ['_toolset=="target"', { 3663 ['_toolset=="target"', {
3672 'cflags': [ 3664 'cflags': [
3673 '-fsanitize=address', 3665 '-fsanitize=address',
3674 '-w', # http://crbug.com/162783 3666 '-w', # http://crbug.com/162783
3675 ], 3667 ],
3676 'ldflags': [ 3668 'ldflags': [
3677 '-fsanitize=address', 3669 '-fsanitize=address',
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
5237 # settings in target dicts. SYMROOT is a special case, because many other 5229 # settings in target dicts. SYMROOT is a special case, because many other
5238 # Xcode variables depend on it, including variables such as 5230 # Xcode variables depend on it, including variables such as
5239 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5240 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5241 # files to appear (when present) in the UI as actual files and not red 5233 # files to appear (when present) in the UI as actual files and not red
5242 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5243 # and therefore SYMROOT, needs to be set at the project level. 5235 # and therefore SYMROOT, needs to be set at the project level.
5244 'SYMROOT': '<(DEPTH)/xcodebuild', 5236 'SYMROOT': '<(DEPTH)/xcodebuild',
5245 }, 5237 },
5246 } 5238 }
OLDNEW
« no previous file with comments | « trunk/src/base/debug/sanitizer_options.cc ('k') | trunk/src/components/nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698