Index: trunk/src/build/common.gypi |
=================================================================== |
--- trunk/src/build/common.gypi (revision 237059) |
+++ trunk/src/build/common.gypi (working copy) |
@@ -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'], |