Revert 237048 "When building with component=shared_library on li..."
> When building with component=shared_library on linux, add -rdynamic > > This allows for WTF's BACKTRACE() macro to symbolize stacktraces. > > BUG=none > R=glider@chromium.org > > Review URL: https://codereview.chromium.org/83553002 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/85523003 git-svn-id: http://src.chromium.org/svn/trunk/src/build@237060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
47511667c1
Коммит
74742e165e
12
common.gypi
12
common.gypi
|
@ -3488,17 +3488,19 @@
|
|||
}],
|
||||
],
|
||||
}],
|
||||
['component=="shared_library"', {
|
||||
# See crbug.com/112389. Also required for BACKTRACE() to work.
|
||||
# TODO(glider): replace with --dynamic-list or something
|
||||
'ldflags': ['-rdynamic'],
|
||||
}],
|
||||
['linux_use_heapchecker==1', {
|
||||
'variables': {'linux_use_tcmalloc%': 1},
|
||||
'defines': [
|
||||
'USE_HEAPCHECKER',
|
||||
'MEMORY_TOOL_REPLACES_ALLOCATOR',
|
||||
],
|
||||
'conditions': [
|
||||
['component=="shared_library"', {
|
||||
# See crbug.com/112389
|
||||
# TODO(glider): replace with --dynamic-list or something
|
||||
'ldflags': ['-rdynamic'],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['linux_use_tcmalloc==0 and android_use_tcmalloc==0', {
|
||||
'defines': ['NO_TCMALLOC'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче