Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 06e9b3b703da8db50d006f45273553d3d8e193e2..d3b0b279c29e8e11243a1f4884d9d6a61333f65a 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3237,6 +3237,13 @@ |
['linux_use_heapchecker==1', { |
'variables': {'linux_use_tcmalloc%': 1}, |
'defines': ['USE_HEAPCHECKER'], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ # See crbug.com/112389 |
+ # TODO(glider): replace with --dynamic-list or something |
+ 'ldflags': ['-rdynamic'], |
+ }], |
+ ], |
}], |
['linux_use_tcmalloc==0', { |
'defines': ['NO_TCMALLOC'], |