blob: c7ba651ac71f0924cb9c0f25a66bc58a2aa89d0a [file] [log] [blame]
[email protected]c9ea7912014-01-22 09:05:591# 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]c9ea7912014-01-22 09:05:595 'includes': [
[email protected]bddb76d82014-02-05 23:33:486 # 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]c9ea7912014-01-22 09:05:599 '../third_party/icu/icu.isolate',
earthdok528c36c2015-03-24 15:05:4210 # Sanitizer-instrumented third-party libraries (if enabled).
11 '../third_party/instrumented_libraries/instrumented_libraries.isolate',
[email protected]c9ea7912014-01-22 09:05:5912 ],
[email protected]32569ac2014-05-28 19:05:3513 'conditions': [
earthdokeeb065302015-02-04 18:18:0414 ['use_custom_libcxx==1', {
Paweł Hajdan, Jr31d26792014-09-24 18:01:0115 'variables': {
maruel82147542014-10-01 13:21:4216 'files': [
Paweł Hajdan, Jr31d26792014-09-24 18:01:0117 '<(PRODUCT_DIR)/lib/libc++.so',
18 ],
19 },
20 }],
John Abd-El-Malek3cb884b2014-10-06 19:45:0121 ['OS=="mac" and asan==1', {
22 'variables': {
23 'files': [
24 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
25 ],
26 },
27 }],
Scott Graham92d69f72015-02-23 21:13:4028 ['OS=="win"', {
29 # Required for base/stack_trace_win.cc to symbolize correctly.
30 'variables': {
31 'files': [
scottmgf063a7e2015-02-25 00:17:3032 '<(PRODUCT_DIR)/dbghelp.dll',
Scott Graham92d69f72015-02-23 21:13:4033 ],
34 },
35 }],
thakisb2ac8b412015-01-28 13:12:5136 ['OS=="win" and asan==1 and component=="shared_library"', {
Nico Weber433d44a2015-01-24 19:47:2137 '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 }],
earthdokeeb065302015-02-04 18:18:0443 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
John Abd-El-Malek7fb5c972014-10-15 18:28:3744 'variables': {
45 'files': [
Nico Weber433d44a2015-01-24 19:47:2146 # For llvm-symbolizer.
John Abd-El-Malek7fb5c972014-10-15 18:28:3747 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
48 ],
49 },
50 }],
earthdokeeb065302015-02-04 18:18:0451 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
John Abd-El-Malek4569c422014-10-09 05:10:5352 'variables': {
53 'files': [
54 '../tools/valgrind/asan/',
Nico Weberb3c13282015-01-23 23:40:0655 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
John Abd-El-Malek14ae0542014-10-15 17:52:3156 ],
57 },
58 }],
Nico Weber8d815932015-02-03 21:48:4259 # 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 Weber905ca7579a2015-02-02 21:44:0377 ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
[email protected]32569ac2014-05-28 19:05:3578 'variables': {
maruel82147542014-10-01 13:21:4279 'files': [
[email protected]32569ac2014-05-28 19:05:3580 '<(PRODUCT_DIR)/msvcp120d.dll',
[email protected]32569ac2014-05-28 19:05:3581 '<(PRODUCT_DIR)/msvcr120d.dll',
[email protected]89aba412014-07-08 12:46:1382 ],
83 },
84 }],
Nico Weberc4893d82015-01-30 01:29:4285 ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
[email protected]89aba412014-07-08 12:46:1386 'variables': {
maruel82147542014-10-01 13:21:4287 'files': [
[email protected]89aba412014-07-08 12:46:1388 '<(PRODUCT_DIR)/msvcp120.dll',
[email protected]32569ac2014-05-28 19:05:3589 '<(PRODUCT_DIR)/msvcr120.dll',
90 ],
91 },
92 }],
earthdokf6ec5ef2015-02-05 18:33:5893 # 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]32569ac2014-05-28 19:05:3597 ],
[email protected]c9ea7912014-01-22 09:05:5998}