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

Side by Side Diff: build/common.gypi

Issue 1289673002: build: Enable flags for better stack traces in non-official CFI builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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 4365 matching lines...) Expand 10 before | Expand all | Expand 10 after
4376 '-mstackrealign', 4376 '-mstackrealign',
4377 ], 4377 ],
4378 }], 4378 }],
4379 ['clang==1 and "<(GENERATOR)"=="ninja"', { 4379 ['clang==1 and "<(GENERATOR)"=="ninja"', {
4380 'cflags': [ 4380 'cflags': [
4381 # See http://crbug.com/110262 4381 # See http://crbug.com/110262
4382 '-fcolor-diagnostics', 4382 '-fcolor-diagnostics',
4383 ], 4383 ],
4384 }], 4384 }],
4385 # Common options for AddressSanitizer, LeakSanitizer, 4385 # Common options for AddressSanitizer, LeakSanitizer,
4386 # ThreadSanitizer and MemorySanitizer. 4386 # ThreadSanitizer, MemorySanitizer and non-official CFI builds.
4387 ['asan==1 or lsan==1 or tsan==1 or msan==1 or ubsan==1 or ubsan_vptr== 1', { 4387 ['asan==1 or lsan==1 or tsan==1 or msan==1 or ubsan==1 or ubsan_vptr== 1 or '
4388 '(cfi_vptr==1 and buildtype!="Official")', {
Nico 2015/08/11 22:44:40 Why is this keyed off buildtype==Official while al
pcc1 2015/08/11 22:55:10 We only emit stack traces in release mode when cfi
4388 'target_conditions': [ 4389 'target_conditions': [
4389 ['_toolset=="target"', { 4390 ['_toolset=="target"', {
4390 'cflags': [ 4391 'cflags': [
4391 '-fno-omit-frame-pointer', 4392 '-fno-omit-frame-pointer',
4392 '-gline-tables-only', 4393 '-gline-tables-only',
4393 ], 4394 ],
4394 'cflags!': [ 4395 'cflags!': [
4395 '-fomit-frame-pointer', 4396 '-fomit-frame-pointer',
4396 ], 4397 ],
4397 }], 4398 }],
(...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
6309 # settings in target dicts. SYMROOT is a special case, because many other 6310 # settings in target dicts. SYMROOT is a special case, because many other
6310 # Xcode variables depend on it, including variables such as 6311 # Xcode variables depend on it, including variables such as
6311 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6312 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6312 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6313 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6313 # files to appear (when present) in the UI as actual files and not red 6314 # files to appear (when present) in the UI as actual files and not red
6314 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6315 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6315 # and therefore SYMROOT, needs to be set at the project level. 6316 # and therefore SYMROOT, needs to be set at the project level.
6316 'SYMROOT': '<(DEPTH)/xcodebuild', 6317 'SYMROOT': '<(DEPTH)/xcodebuild',
6317 }, 6318 },
6318 } 6319 }
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