[email protected] | c9ea791 | 2014-01-22 09:05:59 | [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 | { |
[email protected] | c9ea791 | 2014-01-22 09:05:59 | [diff] [blame] | 5 | 'includes': [ |
[email protected] | bddb76d8 | 2014-02-05 23:33:48 | [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 (?). |
[email protected] | c9ea791 | 2014-01-22 09:05:59 | [diff] [blame] | 9 | '../third_party/icu/icu.isolate', |
earthdok | 528c36c | 2015-03-24 15:05:42 | [diff] [blame] | 10 | # Sanitizer-instrumented third-party libraries (if enabled). |
| 11 | '../third_party/instrumented_libraries/instrumented_libraries.isolate', |
[email protected] | c9ea791 | 2014-01-22 09:05:59 | [diff] [blame] | 12 | ], |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 13 | 'conditions': [ |
earthdok | eeb06530 | 2015-02-04 18:18:04 | [diff] [blame] | 14 | ['use_custom_libcxx==1', { |
Paweł Hajdan, Jr | 31d2679 | 2014-09-24 18:01:01 | [diff] [blame] | 15 | 'variables': { |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 16 | 'files': [ |
Paweł Hajdan, Jr | 31d2679 | 2014-09-24 18:01:01 | [diff] [blame] | 17 | '<(PRODUCT_DIR)/lib/libc++.so', |
| 18 | ], |
| 19 | }, |
| 20 | }], |
John Abd-El-Malek | 3cb884b | 2014-10-06 19:45:01 | [diff] [blame] | 21 | ['OS=="mac" and asan==1', { |
| 22 | 'variables': { |
| 23 | 'files': [ |
| 24 | '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
| 25 | ], |
| 26 | }, |
| 27 | }], |
Scott Graham | 92d69f7 | 2015-02-23 21:13:40 | [diff] [blame] | 28 | ['OS=="win"', { |
| 29 | # Required for base/stack_trace_win.cc to symbolize correctly. |
| 30 | 'variables': { |
| 31 | 'files': [ |
scottmg | f063a7e | 2015-02-25 00:17:30 | [diff] [blame] | 32 | '<(PRODUCT_DIR)/dbghelp.dll', |
Scott Graham | 92d69f7 | 2015-02-23 21:13:40 | [diff] [blame] | 33 | ], |
| 34 | }, |
| 35 | }], |
thakis | b2ac8b41 | 2015-01-28 13:12:51 | [diff] [blame] | 36 | ['OS=="win" and asan==1 and component=="shared_library"', { |
Nico Weber | 433d44a | 2015-01-24 19:47:21 | [diff] [blame] | 37 | 'variables': { |
| 38 | 'files': [ |
| 39 | '../third_party/llvm-build/Release+Asserts/lib/clang/3.7.0/lib/windows/clang_rt.asan_dynamic-i386.dll', |
| 40 | ], |
| 41 | }, |
| 42 | }], |
earthdok | eeb06530 | 2015-02-04 18:18:04 | [diff] [blame] | 43 | ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', { |
John Abd-El-Malek | 7fb5c97 | 2014-10-15 18:28:37 | [diff] [blame] | 44 | 'variables': { |
| 45 | 'files': [ |
Nico Weber | 433d44a | 2015-01-24 19:47:21 | [diff] [blame] | 46 | # For llvm-symbolizer. |
John Abd-El-Malek | 7fb5c97 | 2014-10-15 18:28:37 | [diff] [blame] | 47 | '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', |
| 48 | ], |
| 49 | }, |
| 50 | }], |
earthdok | eeb06530 | 2015-02-04 18:18:04 | [diff] [blame] | 51 | ['asan==1 or lsan==1 or msan==1 or tsan==1', { |
John Abd-El-Malek | 4569c42 | 2014-10-09 05:10:53 | [diff] [blame] | 52 | 'variables': { |
| 53 | 'files': [ |
| 54 | '../tools/valgrind/asan/', |
Nico Weber | b3c1328 | 2015-01-23 23:40:06 | [diff] [blame] | 55 | '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)', |
John Abd-El-Malek | 14ae054 | 2014-10-15 17:52:31 | [diff] [blame] | 56 | ], |
| 57 | }, |
| 58 | }], |
Nico Weber | 8d81593 | 2015-02-03 21:48:42 | [diff] [blame] | 59 | # Copy the VS runtime DLLs into the isolate so that they |
| 60 | # don't have to be preinstalled on the target machine. |
| 61 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', { |
| 62 | 'variables': { |
| 63 | 'files': [ |
| 64 | '<(PRODUCT_DIR)/x64/msvcp120d.dll', |
| 65 | '<(PRODUCT_DIR)/x64/msvcr120d.dll', |
| 66 | ], |
| 67 | }, |
| 68 | }], |
| 69 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', { |
| 70 | 'variables': { |
| 71 | 'files': [ |
| 72 | '<(PRODUCT_DIR)/x64/msvcp120.dll', |
| 73 | '<(PRODUCT_DIR)/x64/msvcr120.dll', |
| 74 | ], |
| 75 | }, |
| 76 | }], |
Nico Weber | 905ca7579a | 2015-02-02 21:44:03 | [diff] [blame] | 77 | ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', { |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 78 | 'variables': { |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 79 | 'files': [ |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 80 | '<(PRODUCT_DIR)/msvcp120d.dll', |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 81 | '<(PRODUCT_DIR)/msvcr120d.dll', |
[email protected] | 89aba41 | 2014-07-08 12:46:13 | [diff] [blame] | 82 | ], |
| 83 | }, |
| 84 | }], |
Nico Weber | c4893d8 | 2015-01-30 01:29:42 | [diff] [blame] | 85 | ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', { |
[email protected] | 89aba41 | 2014-07-08 12:46:13 | [diff] [blame] | 86 | 'variables': { |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 87 | 'files': [ |
[email protected] | 89aba41 | 2014-07-08 12:46:13 | [diff] [blame] | 88 | '<(PRODUCT_DIR)/msvcp120.dll', |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 89 | '<(PRODUCT_DIR)/msvcr120.dll', |
| 90 | ], |
| 91 | }, |
| 92 | }], |
earthdok | f6ec5ef | 2015-02-05 18:33:58 | [diff] [blame] | 93 | # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 |
| 94 | ['asan==0 or lsan==0 or msan==0 or tsan==0', { |
| 95 | 'variables': {}, |
| 96 | }], |
[email protected] | 32569ac | 2014-05-28 19:05:35 | [diff] [blame] | 97 | ], |
[email protected] | c9ea791 | 2014-01-22 09:05:59 | [diff] [blame] | 98 | } |