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

Side by Side Diff: build/common.gypi

Issue 357623003: Move default sanitizer options into build/ so that WebRTC can import them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | « base/debug/tsan_suppressions.cc ('k') | build/sanitizers/OWNERS » ('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 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after
4025 'defines': [ 4025 'defines': [
4026 'MEMORY_TOOL_REPLACES_ALLOCATOR', 4026 'MEMORY_TOOL_REPLACES_ALLOCATOR',
4027 'MEMORY_SANITIZER_INITIAL_SIZE', 4027 'MEMORY_SANITIZER_INITIAL_SIZE',
4028 ], 4028 ],
4029 }], 4029 }],
4030 ], 4030 ],
4031 # TODO(glider): enable the default options on other systems. 4031 # TODO(glider): enable the default options on other systems.
4032 'conditions': [ 4032 'conditions': [
4033 ['use_sanitizer_options==1 and OS=="linux" and (chromeos==0 or tar get_arch!="ia32")', { 4033 ['use_sanitizer_options==1 and OS=="linux" and (chromeos==0 or tar get_arch!="ia32")', {
4034 'dependencies': [ 4034 'dependencies': [
4035 '<(DEPTH)/base/base.gyp:sanitizer_options', 4035 '<(DEPTH)/build/sanitizers/sanitizers.gyp:sanitizer_options',
4036 ], 4036 ],
4037 }], 4037 }],
4038 ], 4038 ],
4039 }], 4039 }],
4040 ['asan==1', { 4040 ['asan==1', {
4041 'target_conditions': [ 4041 'target_conditions': [
4042 ['_toolset=="target"', { 4042 ['_toolset=="target"', {
4043 'cflags': [ 4043 'cflags': [
4044 '-fsanitize=address', 4044 '-fsanitize=address',
4045 ], 4045 ],
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
5704 # settings in target dicts. SYMROOT is a special case, because many other 5704 # settings in target dicts. SYMROOT is a special case, because many other
5705 # Xcode variables depend on it, including variables such as 5705 # Xcode variables depend on it, including variables such as
5706 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5706 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5707 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5707 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5708 # files to appear (when present) in the UI as actual files and not red 5708 # files to appear (when present) in the UI as actual files and not red
5709 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5709 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5710 # and therefore SYMROOT, needs to be set at the project level. 5710 # and therefore SYMROOT, needs to be set at the project level.
5711 'SYMROOT': '<(DEPTH)/xcodebuild', 5711 'SYMROOT': '<(DEPTH)/xcodebuild',
5712 }, 5712 },
5713 } 5713 }
OLDNEW
« no previous file with comments | « base/debug/tsan_suppressions.cc ('k') | build/sanitizers/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698