maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | { |
maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 5 | 'includes': [ |
maruel@chromium.org | 4b87b3e | 2014-02-06 08:33:48 +0900 | [diff] [blame] | 6 | # While the target 'base' doesn't depend on ../third_party/icu/icu.gyp |
| 7 | # itself, virtually all targets using it has to include icu. The only |
| 8 | # exception is the Windows sandbox (?). |
maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 9 | '../third_party/icu/icu.isolate', |
earthdok | 5902967 | 2015-03-25 00:05:42 +0900 | [diff] [blame] | 10 | # Sanitizer-instrumented third-party libraries (if enabled). |
| 11 | '../third_party/instrumented_libraries/instrumented_libraries.isolate', |
sebmarchand | 754495e | 2015-08-15 05:38:21 +0900 | [diff] [blame] | 12 | # MSVS runtime libraries. |
| 13 | '../build/config/win/msvs_dependencies.isolate', |
maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 14 | ], |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 15 | 'conditions': [ |
earthdok | 05f8aa3 | 2015-02-05 03:18:04 +0900 | [diff] [blame] | 16 | ['use_custom_libcxx==1', { |
Paweł Hajdan, Jr | b47ee13 | 2014-09-25 03:01:01 +0900 | [diff] [blame] | 17 | 'variables': { |
maruel | 6f59662 | 2014-10-01 22:21:42 +0900 | [diff] [blame] | 18 | 'files': [ |
Paweł Hajdan, Jr | b47ee13 | 2014-09-25 03:01:01 +0900 | [diff] [blame] | 19 | '<(PRODUCT_DIR)/lib/libc++.so', |
| 20 | ], |
| 21 | }, |
| 22 | }], |
John Abd-El-Malek | 5b84115 | 2014-10-07 04:45:01 +0900 | [diff] [blame] | 23 | ['OS=="mac" and asan==1', { |
| 24 | 'variables': { |
| 25 | 'files': [ |
| 26 | '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
| 27 | ], |
| 28 | }, |
| 29 | }], |
Scott Graham | da2934b | 2015-02-24 06:13:40 +0900 | [diff] [blame] | 30 | ['OS=="win"', { |
| 31 | # Required for base/stack_trace_win.cc to symbolize correctly. |
| 32 | 'variables': { |
| 33 | 'files': [ |
scottmg | 84458d9 | 2015-02-25 09:17:30 +0900 | [diff] [blame] | 34 | '<(PRODUCT_DIR)/dbghelp.dll', |
Scott Graham | da2934b | 2015-02-24 06:13:40 +0900 | [diff] [blame] | 35 | ], |
| 36 | }, |
| 37 | }], |
thakis | cfe3d06 | 2015-01-28 22:12:51 +0900 | [diff] [blame] | 38 | ['OS=="win" and asan==1 and component=="shared_library"', { |
Nico Weber | a3d1f19 | 2015-01-25 04:47:21 +0900 | [diff] [blame] | 39 | 'variables': { |
| 40 | 'files': [ |
hans | 64b216b | 2015-07-16 08:06:57 +0900 | [diff] [blame] | 41 | # We only need x.y.z/lib/windows/clang_rt.asan_dynamic-i386.dll, |
| 42 | # but since the version (x.y.z) changes, just grab the whole dir. |
| 43 | '../third_party/llvm-build/Release+Asserts/lib/clang/', |
Nico Weber | a3d1f19 | 2015-01-25 04:47:21 +0900 | [diff] [blame] | 44 | ], |
| 45 | }, |
| 46 | }], |
earthdok | 05f8aa3 | 2015-02-05 03:18:04 +0900 | [diff] [blame] | 47 | ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', { |
John Abd-El-Malek | 026fa8b | 2014-10-16 03:28:37 +0900 | [diff] [blame] | 48 | 'variables': { |
| 49 | 'files': [ |
Nico Weber | a3d1f19 | 2015-01-25 04:47:21 +0900 | [diff] [blame] | 50 | # For llvm-symbolizer. |
John Abd-El-Malek | 026fa8b | 2014-10-16 03:28:37 +0900 | [diff] [blame] | 51 | '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', |
| 52 | ], |
| 53 | }, |
| 54 | }], |
earthdok | 05f8aa3 | 2015-02-05 03:18:04 +0900 | [diff] [blame] | 55 | ['asan==1 or lsan==1 or msan==1 or tsan==1', { |
John Abd-El-Malek | 54c7e47 | 2014-10-09 14:10:53 +0900 | [diff] [blame] | 56 | 'variables': { |
| 57 | 'files': [ |
| 58 | '../tools/valgrind/asan/', |
Nico Weber | 36fff90 | 2015-01-24 08:40:06 +0900 | [diff] [blame] | 59 | '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)', |
John Abd-El-Malek | 8479574 | 2014-10-16 02:52:31 +0900 | [diff] [blame] | 60 | ], |
| 61 | }, |
| 62 | }], |
earthdok | cf106f3 | 2015-02-06 03:33:58 +0900 | [diff] [blame] | 63 | # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 |
| 64 | ['asan==0 or lsan==0 or msan==0 or tsan==0', { |
| 65 | 'variables': {}, |
| 66 | }], |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 67 | ], |
maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 68 | } |