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

Side by Side Diff: build/common.gypi

Issue 11547031: Turn on the ADDRESS_SANITIZER on all platform when asan==1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« 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 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 ], 1772 ],
1773 }], 1773 }],
1774 ['asan==1 and OS=="win"', { 1774 ['asan==1 and OS=="win"', {
1775 # Since asan on windows uses Syzygy, we need /PROFILE turned on to 1775 # Since asan on windows uses Syzygy, we need /PROFILE turned on to
1776 # produce appropriate pdbs. 1776 # produce appropriate pdbs.
1777 'msvs_settings': { 1777 'msvs_settings': {
1778 'VCLinkerTool': { 1778 'VCLinkerTool': {
1779 'Profile': 'true', 1779 'Profile': 'true',
1780 }, 1780 },
1781 }, 1781 },
1782 'defines': ['ADDRESS_SANITIZER'],
1782 }], # asan==1 and OS=="win" 1783 }], # asan==1 and OS=="win"
1783 ['coverage!=0', { 1784 ['coverage!=0', {
1784 'conditions': [ 1785 'conditions': [
1785 ['OS=="mac" or OS=="ios"', { 1786 ['OS=="mac" or OS=="ios"', {
1786 'xcode_settings': { 1787 'xcode_settings': {
1787 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 1788 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
1788 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage 1789 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
1789 }, 1790 },
1790 }], 1791 }],
1791 ['OS=="mac"', { 1792 ['OS=="mac"', {
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after
3929 # settings in target dicts. SYMROOT is a special case, because many other 3930 # settings in target dicts. SYMROOT is a special case, because many other
3930 # Xcode variables depend on it, including variables such as 3931 # Xcode variables depend on it, including variables such as
3931 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3932 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3932 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3933 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3933 # files to appear (when present) in the UI as actual files and not red 3934 # files to appear (when present) in the UI as actual files and not red
3934 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3935 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3935 # and therefore SYMROOT, needs to be set at the project level. 3936 # and therefore SYMROOT, needs to be set at the project level.
3936 'SYMROOT': '<(DEPTH)/xcodebuild', 3937 'SYMROOT': '<(DEPTH)/xcodebuild',
3937 }, 3938 },
3938 } 3939 }
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