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:
jochen@chromium.org 2013-11-25 12:14:36 +00:00
Родитель 47511667c1
Коммит 74742e165e
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -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'],