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', |
| 10 | ], |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 11 | 'conditions': [ |
John Abd-El-Malek | f9c028b | 2014-10-10 01:43:28 +0900 | [diff] [blame] | 12 | ['OS=="linux" and asan==1 and chromeos==0', { |
Paweł Hajdan, Jr | b47ee13 | 2014-09-25 03:01:01 +0900 | [diff] [blame] | 13 | 'variables': { |
maruel | 6f59662 | 2014-10-01 22:21:42 +0900 | [diff] [blame] | 14 | 'files': [ |
Paweł Hajdan, Jr | b47ee13 | 2014-09-25 03:01:01 +0900 | [diff] [blame] | 15 | '<(PRODUCT_DIR)/lib/libc++.so', |
| 16 | ], |
| 17 | }, |
| 18 | }], |
John Abd-El-Malek | 5b84115 | 2014-10-07 04:45:01 +0900 | [diff] [blame] | 19 | ['OS=="mac" and asan==1', { |
| 20 | 'variables': { |
| 21 | 'files': [ |
| 22 | '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
| 23 | ], |
| 24 | }, |
| 25 | }], |
Nico Weber | a3d1f19 | 2015-01-25 04:47:21 +0900 | [diff] [blame^] | 26 | ['OS=="win" and asan==1', { |
| 27 | 'variables': { |
| 28 | 'files': [ |
| 29 | '../third_party/llvm-build/Release+Asserts/lib/clang/3.7.0/lib/windows/clang_rt.asan_dynamic-i386.dll', |
| 30 | ], |
| 31 | }, |
| 32 | }], |
John Abd-El-Malek | 026fa8b | 2014-10-16 03:28:37 +0900 | [diff] [blame] | 33 | ['OS=="linux" and asan==1', { |
| 34 | 'variables': { |
| 35 | 'files': [ |
Nico Weber | a3d1f19 | 2015-01-25 04:47:21 +0900 | [diff] [blame^] | 36 | # For llvm-symbolizer. |
John Abd-El-Malek | 026fa8b | 2014-10-16 03:28:37 +0900 | [diff] [blame] | 37 | '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', |
| 38 | ], |
| 39 | }, |
| 40 | }], |
John Abd-El-Malek | 54c7e47 | 2014-10-09 14:10:53 +0900 | [diff] [blame] | 41 | ['asan==1', { |
| 42 | 'variables': { |
| 43 | 'files': [ |
| 44 | '../tools/valgrind/asan/', |
Nico Weber | 36fff90 | 2015-01-24 08:40:06 +0900 | [diff] [blame] | 45 | '../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] | 46 | ], |
| 47 | }, |
| 48 | }], |
| 49 | ['lsan==1', { |
| 50 | 'variables': { |
| 51 | 'files': [ |
| 52 | '../tools/lsan/suppressions.txt', |
John Abd-El-Malek | 54c7e47 | 2014-10-09 14:10:53 +0900 | [diff] [blame] | 53 | ], |
| 54 | }, |
| 55 | }], |
scheib@chromium.org | 9507289 | 2014-07-08 21:46:13 +0900 | [diff] [blame] | 56 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', { |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 57 | 'variables': { |
maruel | 6f59662 | 2014-10-01 22:21:42 +0900 | [diff] [blame] | 58 | 'files': [ |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 59 | # Copy the VS runtime DLLs into the isolate so that they |
scheib@chromium.org | 9507289 | 2014-07-08 21:46:13 +0900 | [diff] [blame] | 60 | # don't have to be preinstalled on the target machine. |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 61 | '<(PRODUCT_DIR)/msvcp120d.dll', |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 62 | '<(PRODUCT_DIR)/msvcr120d.dll', |
John Abd-El-Malek | d57e3cc | 2014-10-02 10:38:18 +0900 | [diff] [blame] | 63 | '<(PRODUCT_DIR)/x64/msvcp120d.dll', |
| 64 | '<(PRODUCT_DIR)/x64/msvcr120d.dll', |
scheib@chromium.org | 9507289 | 2014-07-08 21:46:13 +0900 | [diff] [blame] | 65 | ], |
| 66 | }, |
| 67 | }], |
| 68 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', { |
| 69 | 'variables': { |
maruel | 6f59662 | 2014-10-01 22:21:42 +0900 | [diff] [blame] | 70 | 'files': [ |
scheib@chromium.org | 9507289 | 2014-07-08 21:46:13 +0900 | [diff] [blame] | 71 | # Copy the VS runtime DLLs into the isolate so that they |
| 72 | # don't have to be preinstalled on the target machine. |
| 73 | '<(PRODUCT_DIR)/msvcp120.dll', |
kbr@chromium.org | 93b3265 | 2014-05-29 04:05:35 +0900 | [diff] [blame] | 74 | '<(PRODUCT_DIR)/msvcr120.dll', |
| 75 | ], |
| 76 | }, |
| 77 | }], |
| 78 | ], |
maruel@chromium.org | 6bde811 | 2014-01-22 18:05:59 +0900 | [diff] [blame] | 79 | } |