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

Side by Side Diff: build/common.gypi

Issue 360693002: Use MEMORY_SANITIZER_INITIAL_SIZE for sanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« 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 2607 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 }], 2618 }],
2619 ['enable_eglimage==1', { 2619 ['enable_eglimage==1', {
2620 'defines': [ 2620 'defines': [
2621 'ENABLE_EGLIMAGE=1', 2621 'ENABLE_EGLIMAGE=1',
2622 ], 2622 ],
2623 }], 2623 }],
2624 ['asan==1', { 2624 ['asan==1', {
2625 'defines': [ 2625 'defines': [
2626 'ADDRESS_SANITIZER', 2626 'ADDRESS_SANITIZER',
2627 'MEMORY_TOOL_REPLACES_ALLOCATOR', 2627 'MEMORY_TOOL_REPLACES_ALLOCATOR',
2628 'MEMORY_SANITIZER_INITIAL_SIZE',
2628 ], 2629 ],
2629 }], 2630 }],
2630 ['syzyasan==1', { 2631 ['syzyasan==1', {
2631 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. 2632 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
2632 'msvs_settings': { 2633 'msvs_settings': {
2633 'VCLinkerTool': { 2634 'VCLinkerTool': {
2634 'Profile': 'true', 2635 'Profile': 'true',
2635 }, 2636 },
2636 }, 2637 },
2637 'defines': [ 2638 'defines': [
2638 'SYZYASAN', 2639 'SYZYASAN',
2639 'MEMORY_TOOL_REPLACES_ALLOCATOR', 2640 'MEMORY_TOOL_REPLACES_ALLOCATOR',
2641 'MEMORY_SANITIZER_INITIAL_SIZE',
2640 ], 2642 ],
2641 }], 2643 }],
2642 ['OS=="win"', { 2644 ['OS=="win"', {
2643 'defines': [ 2645 'defines': [
2644 '__STD_C', 2646 '__STD_C',
2645 '_CRT_SECURE_NO_DEPRECATE', 2647 '_CRT_SECURE_NO_DEPRECATE',
2646 '_SCL_SECURE_NO_DEPRECATE', 2648 '_SCL_SECURE_NO_DEPRECATE',
2647 # This define is required to pull in the new Win8 interfaces from 2649 # This define is required to pull in the new Win8 interfaces from
2648 # system headers like ShObjIdl.h. 2650 # system headers like ShObjIdl.h.
2649 'NTDDI_VERSION=0x06020000', 2651 'NTDDI_VERSION=0x06020000',
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
3205 'includes': ['release.gypi'], 3207 'includes': ['release.gypi'],
3206 }], 3208 }],
3207 ['release_valgrind_build==0 and tsan==0', { 3209 ['release_valgrind_build==0 and tsan==0', {
3208 'defines': [ 3210 'defines': [
3209 'NVALGRIND', 3211 'NVALGRIND',
3210 'DYNAMIC_ANNOTATIONS_ENABLED=0', 3212 'DYNAMIC_ANNOTATIONS_ENABLED=0',
3211 ], 3213 ],
3212 }, { 3214 }, {
3213 'defines': [ 3215 'defines': [
3214 'MEMORY_TOOL_REPLACES_ALLOCATOR', 3216 'MEMORY_TOOL_REPLACES_ALLOCATOR',
3217 'MEMORY_SANITIZER_INITIAL_SIZE',
3215 'DYNAMIC_ANNOTATIONS_ENABLED=1', 3218 'DYNAMIC_ANNOTATIONS_ENABLED=1',
3216 'WTF_USE_DYNAMIC_ANNOTATIONS=1', 3219 'WTF_USE_DYNAMIC_ANNOTATIONS=1',
3217 ], 3220 ],
3218 }], 3221 }],
3219 ['win_use_allocator_shim==0', { 3222 ['win_use_allocator_shim==0', {
3220 'defines': ['NO_TCMALLOC'], 3223 'defines': ['NO_TCMALLOC'],
3221 }], 3224 }],
3222 # _FORTIFY_SOURCE isn't really supported by Clang now, see 3225 # _FORTIFY_SOURCE isn't really supported by Clang now, see
3223 # http://llvm.org/bugs/show_bug.cgi?id=16821. 3226 # http://llvm.org/bugs/show_bug.cgi?id=16821.
3224 # TODO(glider): once the bug is fixed, disable source fortification 3227 # TODO(glider): once the bug is fixed, disable source fortification
(...skipping 2311 matching lines...) Expand 10 before | Expand all | Expand 10 after
5536 # settings in target dicts. SYMROOT is a special case, because many other 5539 # settings in target dicts. SYMROOT is a special case, because many other
5537 # Xcode variables depend on it, including variables such as 5540 # Xcode variables depend on it, including variables such as
5538 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5541 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5539 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5542 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5540 # files to appear (when present) in the UI as actual files and not red 5543 # files to appear (when present) in the UI as actual files and not red
5541 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5544 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5542 # and therefore SYMROOT, needs to be set at the project level. 5545 # and therefore SYMROOT, needs to be set at the project level.
5543 'SYMROOT': '<(DEPTH)/xcodebuild', 5546 'SYMROOT': '<(DEPTH)/xcodebuild',
5544 }, 5547 },
5545 } 5548 }
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