James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [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 | { |
| 5 | 'includes': [ |
| 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 (?). |
| 9 | '../third_party/icu/icu.isolate', |
| 10 | ], |
| 11 | 'conditions': [ |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 12 | ['OS=="linux" and asan==1 and chromeos==0', { |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 13 | 'variables': { |
| 14 | 'files': [ |
| 15 | '<(PRODUCT_DIR)/lib/libc++.so', |
| 16 | ], |
| 17 | }, |
| 18 | }], |
James Robinson | baf71d3 | 2014-10-08 13:00:20 -0700 | [diff] [blame] | 19 | ['OS=="mac" and asan==1', { |
| 20 | 'variables': { |
| 21 | 'files': [ |
| 22 | '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
| 23 | ], |
| 24 | }, |
| 25 | }], |
James Robinson | 80d418c | 2014-10-16 16:00:02 -0700 | [diff] [blame] | 26 | ['OS=="linux" and asan==1', { |
| 27 | 'variables': { |
| 28 | 'files': [ |
| 29 | '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', |
| 30 | ], |
| 31 | }, |
| 32 | }], |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 33 | ['asan==1', { |
| 34 | 'variables': { |
| 35 | 'files': [ |
| 36 | '../tools/valgrind/asan/', |
| 37 | '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer', |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 38 | ], |
| 39 | }, |
| 40 | }], |
| 41 | ['lsan==1', { |
| 42 | 'variables': { |
| 43 | 'files': [ |
| 44 | '../tools/lsan/suppressions.txt', |
| 45 | ], |
| 46 | }, |
| 47 | }], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 48 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', { |
| 49 | 'variables': { |
| 50 | 'files': [ |
| 51 | # Copy the VS runtime DLLs into the isolate so that they |
| 52 | # don't have to be preinstalled on the target machine. |
| 53 | '<(PRODUCT_DIR)/msvcp120d.dll', |
| 54 | '<(PRODUCT_DIR)/msvcr120d.dll', |
| 55 | '<(PRODUCT_DIR)/x64/msvcp120d.dll', |
| 56 | '<(PRODUCT_DIR)/x64/msvcr120d.dll', |
| 57 | ], |
| 58 | }, |
| 59 | }], |
| 60 | ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', { |
| 61 | 'variables': { |
| 62 | 'files': [ |
| 63 | # Copy the VS runtime DLLs into the isolate so that they |
| 64 | # don't have to be preinstalled on the target machine. |
| 65 | '<(PRODUCT_DIR)/msvcp120.dll', |
| 66 | '<(PRODUCT_DIR)/msvcr120.dll', |
| 67 | ], |
| 68 | }, |
| 69 | }], |
| 70 | ], |
| 71 | } |