blob: 0416935e373fa58a7fc646b484b6aec9d54fd642 [file] [log] [blame]
James Robinson646469d2014-10-03 15:33:28 -07001# 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 Robinsone2ac7e82014-10-15 13:21:59 -070012 ['OS=="linux" and asan==1 and chromeos==0', {
James Robinson646469d2014-10-03 15:33:28 -070013 'variables': {
14 'files': [
15 '<(PRODUCT_DIR)/lib/libc++.so',
16 ],
17 },
18 }],
James Robinsonbaf71d32014-10-08 13:00:20 -070019 ['OS=="mac" and asan==1', {
20 'variables': {
21 'files': [
22 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
23 ],
24 },
25 }],
James Robinson80d418c2014-10-16 16:00:02 -070026 ['OS=="linux" and asan==1', {
27 'variables': {
28 'files': [
29 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
30 ],
31 },
32 }],
James Robinsone2ac7e82014-10-15 13:21:59 -070033 ['asan==1', {
34 'variables': {
35 'files': [
36 '../tools/valgrind/asan/',
37 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer',
James Robinsone2ac7e82014-10-15 13:21:59 -070038 ],
39 },
40 }],
41 ['lsan==1', {
42 'variables': {
43 'files': [
44 '../tools/lsan/suppressions.txt',
45 ],
46 },
47 }],
James Robinson646469d2014-10-03 15:33:28 -070048 ['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}