blob: c23fdd4ef240bbe2356e1a9dba330f3a66ea79ab [file] [log] [blame]
maruel@chromium.org6bde8112014-01-22 18:05:59 +09001# 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.org6bde8112014-01-22 18:05:59 +09005 'includes': [
maruel@chromium.org4b87b3e2014-02-06 08:33:48 +09006 # 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.org6bde8112014-01-22 18:05:59 +09009 '../third_party/icu/icu.isolate',
10 ],
kbr@chromium.org93b32652014-05-29 04:05:35 +090011 'conditions': [
John Abd-El-Malekf9c028b2014-10-10 01:43:28 +090012 ['OS=="linux" and asan==1 and chromeos==0', {
Paweł Hajdan, Jrb47ee132014-09-25 03:01:01 +090013 'variables': {
maruel6f596622014-10-01 22:21:42 +090014 'files': [
Paweł Hajdan, Jrb47ee132014-09-25 03:01:01 +090015 '<(PRODUCT_DIR)/lib/libc++.so',
16 ],
17 },
18 }],
John Abd-El-Malek5b841152014-10-07 04:45:01 +090019 ['OS=="mac" and asan==1', {
20 'variables': {
21 'files': [
22 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
23 ],
24 },
25 }],
Nico Webera3d1f192015-01-25 04:47:21 +090026 ['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-Malek026fa8b2014-10-16 03:28:37 +090033 ['OS=="linux" and asan==1', {
34 'variables': {
35 'files': [
Nico Webera3d1f192015-01-25 04:47:21 +090036 # For llvm-symbolizer.
John Abd-El-Malek026fa8b2014-10-16 03:28:37 +090037 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
38 ],
39 },
40 }],
John Abd-El-Malek54c7e472014-10-09 14:10:53 +090041 ['asan==1', {
42 'variables': {
43 'files': [
44 '../tools/valgrind/asan/',
Nico Weber36fff902015-01-24 08:40:06 +090045 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
John Abd-El-Malek84795742014-10-16 02:52:31 +090046 ],
47 },
48 }],
49 ['lsan==1', {
50 'variables': {
51 'files': [
52 '../tools/lsan/suppressions.txt',
John Abd-El-Malek54c7e472014-10-09 14:10:53 +090053 ],
54 },
55 }],
scheib@chromium.org95072892014-07-08 21:46:13 +090056 ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
kbr@chromium.org93b32652014-05-29 04:05:35 +090057 'variables': {
maruel6f596622014-10-01 22:21:42 +090058 'files': [
kbr@chromium.org93b32652014-05-29 04:05:35 +090059 # Copy the VS runtime DLLs into the isolate so that they
scheib@chromium.org95072892014-07-08 21:46:13 +090060 # don't have to be preinstalled on the target machine.
kbr@chromium.org93b32652014-05-29 04:05:35 +090061 '<(PRODUCT_DIR)/msvcp120d.dll',
kbr@chromium.org93b32652014-05-29 04:05:35 +090062 '<(PRODUCT_DIR)/msvcr120d.dll',
John Abd-El-Malekd57e3cc2014-10-02 10:38:18 +090063 '<(PRODUCT_DIR)/x64/msvcp120d.dll',
64 '<(PRODUCT_DIR)/x64/msvcr120d.dll',
scheib@chromium.org95072892014-07-08 21:46:13 +090065 ],
66 },
67 }],
68 ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
69 'variables': {
maruel6f596622014-10-01 22:21:42 +090070 'files': [
scheib@chromium.org95072892014-07-08 21:46:13 +090071 # 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.org93b32652014-05-29 04:05:35 +090074 '<(PRODUCT_DIR)/msvcr120.dll',
75 ],
76 },
77 }],
78 ],
maruel@chromium.org6bde8112014-01-22 18:05:59 +090079}