| Index: base/base.isolate
|
| diff --git a/base/base.isolate b/base/base.isolate
|
| index 021c01cda1012cf0b02524de722c7fd224c264f6..cb859656bb54ffe2fca65c30961e79eb6df0e00e 100644
|
| --- a/base/base.isolate
|
| +++ b/base/base.isolate
|
| @@ -9,13 +9,20 @@
|
| '../third_party/icu/icu.isolate',
|
| ],
|
| 'conditions': [
|
| - ['OS=="linux" and asan==1 and chromeos==0', {
|
| + ['use_custom_libcxx==1', {
|
| 'variables': {
|
| 'files': [
|
| '<(PRODUCT_DIR)/lib/libc++.so',
|
| ],
|
| },
|
| }],
|
| + ['use_instrumented_libraries==1', {
|
| + 'variables': {
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/instrumented_libraries/',
|
| + ],
|
| + },
|
| + }],
|
| ['OS=="mac" and asan==1', {
|
| 'variables': {
|
| 'files': [
|
| @@ -30,7 +37,7 @@
|
| ],
|
| },
|
| }],
|
| - ['OS=="linux" and asan==1', {
|
| + ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
|
| 'variables': {
|
| 'files': [
|
| # For llvm-symbolizer.
|
| @@ -38,7 +45,7 @@
|
| ],
|
| },
|
| }],
|
| - ['asan==1', {
|
| + ['asan==1 or lsan==1 or msan==1 or tsan==1', {
|
| 'variables': {
|
| 'files': [
|
| '../tools/valgrind/asan/',
|
| @@ -53,27 +60,43 @@
|
| ],
|
| },
|
| }],
|
| + # Copy the VS runtime DLLs into the isolate so that they
|
| + # don't have to be preinstalled on the target machine.
|
| + ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
|
| + 'variables': {
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/x64/msvcp120d.dll',
|
| + '<(PRODUCT_DIR)/x64/msvcr120d.dll',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
|
| + 'variables': {
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/x64/msvcp120.dll',
|
| + '<(PRODUCT_DIR)/x64/msvcr120.dll',
|
| + ],
|
| + },
|
| + }],
|
| ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
|
| 'variables': {
|
| 'files': [
|
| - # Copy the VS runtime DLLs into the isolate so that they
|
| - # don't have to be preinstalled on the target machine.
|
| '<(PRODUCT_DIR)/msvcp120d.dll',
|
| '<(PRODUCT_DIR)/msvcr120d.dll',
|
| - '<(PRODUCT_DIR)/x64/msvcp120d.dll',
|
| - '<(PRODUCT_DIR)/x64/msvcr120d.dll',
|
| ],
|
| },
|
| }],
|
| ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
|
| 'variables': {
|
| 'files': [
|
| - # Copy the VS runtime DLLs into the isolate so that they
|
| - # don't have to be preinstalled on the target machine.
|
| '<(PRODUCT_DIR)/msvcp120.dll',
|
| '<(PRODUCT_DIR)/msvcr120.dll',
|
| ],
|
| },
|
| }],
|
| + # Workaround for https://code.google.com/p/swarming/issues/detail?id=211
|
| + ['asan==0 or lsan==0 or msan==0 or tsan==0', {
|
| + 'variables': {},
|
| + }],
|
| ],
|
| }
|
|
|