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

Side by Side Diff: build/common.gypi

Issue 62140: Print backtraces on FATAL log messages in debug mode. (Closed)
Patch Set: Add todo for stackwalk64 Created 11 years, 8 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 | « base/logging.cc ('k') | chrome/app/chrome.dll.deps » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 'variables': { 251 'variables': {
252 'debug_optimize%': '0', 252 'debug_optimize%': '0',
253 }, 253 },
254 'defines': [ 254 'defines': [
255 '_DEBUG', 255 '_DEBUG',
256 ], 256 ],
257 'cflags': [ 257 'cflags': [
258 '-O<(debug_optimize)', 258 '-O<(debug_optimize)',
259 '-g', 259 '-g',
260 ], 260 ],
261 }, 261 'ldflags': [
262 '-rdynamic', # Allows backtrace to resolve symbols.
263 ],
264 » },
262 'Release': { 265 'Release': {
263 'cflags': [ 266 'cflags': [
264 '-O2', 267 '-O2',
265 # Don't emit the GCC version ident directives, they just end up 268 # Don't emit the GCC version ident directives, they just end up
266 # in the .comment section taking up binary size. 269 # in the .comment section taking up binary size.
267 '-fno-ident', 270 '-fno-ident',
268 # Put data and code in their own sections, so that unused symbols 271 # Put data and code in their own sections, so that unused symbols
269 # can be removed at link time with --gc-sections. 272 # can be removed at link time with --gc-sections.
270 '-fdata-sections', 273 '-fdata-sections',
271 '-ffunction-sections', 274 '-ffunction-sections',
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 'VCLinkerTool': { 379 'VCLinkerTool': {
377 'AdditionalOptions': 380 'AdditionalOptions':
378 '/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat', 381 '/safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat',
379 'AdditionalDependencies': [ 382 'AdditionalDependencies': [
380 'wininet.lib', 383 'wininet.lib',
381 'version.lib', 384 'version.lib',
382 'msimg32.lib', 385 'msimg32.lib',
383 'ws2_32.lib', 386 'ws2_32.lib',
384 'usp10.lib', 387 'usp10.lib',
385 'psapi.lib', 388 'psapi.lib',
389 'dbghelp.lib',
386 ], 390 ],
387 'AdditionalLibraryDirectories': 391 'AdditionalLibraryDirectories':
388 '<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib', 392 '<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib',
389 'DelayLoadDLLs': 'dwmapi.dll,uxtheme.dll', 393 'DelayLoadDLLs': 'dbghelp.dll,dwmapi.dll,uxtheme.dll',
390 'GenerateDebugInformation': 'true', 394 'GenerateDebugInformation': 'true',
391 'MapFileName': '$(OutDir)\\$(TargetName).map', 395 'MapFileName': '$(OutDir)\\$(TargetName).map',
392 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', 396 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib',
393 'TargetMachine': '1', 397 'TargetMachine': '1',
394 'FixedBaseAddress': '1', 398 'FixedBaseAddress': '1',
395 }, 399 },
396 'VCMIDLTool': { 400 'VCMIDLTool': {
397 'GenerateStublessProxies': 'true', 401 'GenerateStublessProxies': 'true',
398 'TypeLibraryName': '$(InputName).tlb', 402 'TypeLibraryName': '$(InputName).tlb',
399 'OutputDirectory': '$(IntDir)', 403 'OutputDirectory': '$(IntDir)',
(...skipping 28 matching lines...) Expand all
428 # settings in target dicts. SYMROOT is a special case, because many other 432 # settings in target dicts. SYMROOT is a special case, because many other
429 # Xcode variables depend on it, including variables such as 433 # Xcode variables depend on it, including variables such as
430 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 434 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
431 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 435 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
432 # files to appear (when present) in the UI as actual files and not red 436 # files to appear (when present) in the UI as actual files and not red
433 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 437 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
434 # and therefore SYMROOT, needs to be set at the project level. 438 # and therefore SYMROOT, needs to be set at the project level.
435 'SYMROOT': '<(DEPTH)/xcodebuild', 439 'SYMROOT': '<(DEPTH)/xcodebuild',
436 }, 440 },
437 } 441 }
OLDNEW
« no previous file with comments | « base/logging.cc ('k') | chrome/app/chrome.dll.deps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698