Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index 77e53aab7c3058a6893af66561713aff3db540da..0cf61a2ecaa2105febbbba41afb6bf36b757ac8e 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -15,6 +15,17 @@ |
'test/automation/tab_proxy.cc', |
'test/automation/tab_proxy.h', |
], |
+ 'pyautolib_libraries': [ |
+ ], |
+ 'conditions': [ |
+ ['asan==1', { |
+ 'pyautolib_libraries': [ |
+ # Link in the libasan32.a because this binary will be loaded by |
+ # Python that does not have libasan in. |
+ '-lasan32', |
+ ] |
+ }], |
+ ], |
}, |
'targets': [ |
{ |
@@ -3666,6 +3677,9 @@ |
'-Wno-uninitialized', |
'-Wno-self-assign', # to keep clang happy for generated code. |
], |
+ 'libraries': [ |
+ '<@(pyautolib_libraries)', |
+ ], |
'sources': [ |
'test/automation/proxy_launcher.cc', |
'test/automation/proxy_launcher.h', |