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

Side by Side Diff: build/common.gypi

Issue 15162003: Fix heapchecker shared_library build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « 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 3219 matching lines...) Expand 10 before | Expand all | Expand 10 after
3230 '-Wl,--no-keep-memory', 3230 '-Wl,--no-keep-memory',
3231 ], 3231 ],
3232 }], 3232 }],
3233 ], 3233 ],
3234 }], 3234 }],
3235 ], 3235 ],
3236 }], 3236 }],
3237 ['linux_use_heapchecker==1', { 3237 ['linux_use_heapchecker==1', {
3238 'variables': {'linux_use_tcmalloc%': 1}, 3238 'variables': {'linux_use_tcmalloc%': 1},
3239 'defines': ['USE_HEAPCHECKER'], 3239 'defines': ['USE_HEAPCHECKER'],
3240 'conditions': [
3241 ['component=="shared_library"', {
3242 # See crbug.com/112389
3243 # TODO(glider): replace with --dynamic-list or something
3244 'ldflags': ['-rdynamic'],
3245 }],
3246 ],
3240 }], 3247 }],
3241 ['linux_use_tcmalloc==0', { 3248 ['linux_use_tcmalloc==0', {
3242 'defines': ['NO_TCMALLOC'], 3249 'defines': ['NO_TCMALLOC'],
3243 }], 3250 }],
3244 ['linux_keep_shadow_stacks==1', { 3251 ['linux_keep_shadow_stacks==1', {
3245 'defines': ['KEEP_SHADOW_STACKS'], 3252 'defines': ['KEEP_SHADOW_STACKS'],
3246 'cflags': [ 3253 'cflags': [
3247 '-finstrument-functions', 3254 '-finstrument-functions',
3248 # Allow mmx intrinsics to inline, so that the compiler can expand 3255 # Allow mmx intrinsics to inline, so that the compiler can expand
3249 # the intrinsics. 3256 # the intrinsics.
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
4454 # settings in target dicts. SYMROOT is a special case, because many other 4461 # settings in target dicts. SYMROOT is a special case, because many other
4455 # Xcode variables depend on it, including variables such as 4462 # Xcode variables depend on it, including variables such as
4456 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4463 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4457 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4464 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4458 # files to appear (when present) in the UI as actual files and not red 4465 # files to appear (when present) in the UI as actual files and not red
4459 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4466 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4460 # and therefore SYMROOT, needs to be set at the project level. 4467 # and therefore SYMROOT, needs to be set at the project level.
4461 'SYMROOT': '<(DEPTH)/xcodebuild', 4468 'SYMROOT': '<(DEPTH)/xcodebuild',
4462 }, 4469 },
4463 } 4470 }
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