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

Side by Side Diff: build/common.gypi

Issue 9146022: linux: don't define NO_HEAPCHECKER for every file (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 11 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 | « build/build_config.h ('k') | 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 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 'cflags': [ 2051 'cflags': [
2052 '-fno-strict-aliasing', 2052 '-fno-strict-aliasing',
2053 ], 2053 ],
2054 }], 2054 }],
2055 ['linux_breakpad==1', { 2055 ['linux_breakpad==1', {
2056 'cflags': [ '-g' ], 2056 'cflags': [ '-g' ],
2057 'defines': ['USE_LINUX_BREAKPAD'], 2057 'defines': ['USE_LINUX_BREAKPAD'],
2058 }], 2058 }],
2059 ['linux_use_heapchecker==1', { 2059 ['linux_use_heapchecker==1', {
2060 'variables': {'linux_use_tcmalloc%': 1}, 2060 'variables': {'linux_use_tcmalloc%': 1},
2061 'defines': ['USE_HEAPCHECKER'],
2061 }], 2062 }],
2062 ['linux_use_tcmalloc==0', { 2063 ['linux_use_tcmalloc==0', {
2063 'defines': ['NO_TCMALLOC'], 2064 'defines': ['NO_TCMALLOC'],
2064 }], 2065 }],
2065 ['linux_use_heapchecker==0', {
2066 'defines': ['NO_HEAPCHECKER'],
2067 }],
2068 ['linux_keep_shadow_stacks==1', { 2066 ['linux_keep_shadow_stacks==1', {
2069 'defines': ['KEEP_SHADOW_STACKS'], 2067 'defines': ['KEEP_SHADOW_STACKS'],
2070 'cflags': ['-finstrument-functions'], 2068 'cflags': ['-finstrument-functions'],
2071 }], 2069 }],
2072 ], 2070 ],
2073 }, 2071 },
2074 }], 2072 }],
2075 # FreeBSD-specific options; note that most FreeBSD options are set above, 2073 # FreeBSD-specific options; note that most FreeBSD options are set above,
2076 # with Linux. 2074 # with Linux.
2077 ['OS=="freebsd"', { 2075 ['OS=="freebsd"', {
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2817 # settings in target dicts. SYMROOT is a special case, because many other 2815 # settings in target dicts. SYMROOT is a special case, because many other
2818 # Xcode variables depend on it, including variables such as 2816 # Xcode variables depend on it, including variables such as
2819 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2817 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2820 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2818 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2821 # files to appear (when present) in the UI as actual files and not red 2819 # files to appear (when present) in the UI as actual files and not red
2822 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2820 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2823 # and therefore SYMROOT, needs to be set at the project level. 2821 # and therefore SYMROOT, needs to be set at the project level.
2824 'SYMROOT': '<(DEPTH)/xcodebuild', 2822 'SYMROOT': '<(DEPTH)/xcodebuild',
2825 }, 2823 },
2826 } 2824 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698