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.
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',
12 ['use_custom_libcxx==1', {
15 '<(PRODUCT_DIR)/lib/libc++.so',
19 ['use_instrumented_libraries==1', {
22 '<(PRODUCT_DIR)/instrumented_libraries/',
26 ['OS=="mac" and asan==1', {
29 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
33 ['OS=="win" and asan==1 and component=="shared_library"', {
36 '../third_party/llvm-build/Release+Asserts/lib/clang/3.7.0/lib/windows/clang_rt.asan_dynamic-i386.dll',
40 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
43 # For llvm-symbolizer.
44 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
48 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
51 '../tools/valgrind/asan/',
52 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
59 '../tools/lsan/suppressions.txt',
63 # Copy the VS runtime DLLs into the isolate so that they
64 # don't have to be preinstalled on the target machine.
65 ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
68 '<(PRODUCT_DIR)/x64/msvcp120d.dll',
69 '<(PRODUCT_DIR)/x64/msvcr120d.dll',
73 ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
76 '<(PRODUCT_DIR)/x64/msvcp120.dll',
77 '<(PRODUCT_DIR)/x64/msvcr120.dll',
81 ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
84 '<(PRODUCT_DIR)/msvcp120d.dll',
85 '<(PRODUCT_DIR)/msvcr120d.dll',
89 ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
92 '<(PRODUCT_DIR)/msvcp120.dll',
93 '<(PRODUCT_DIR)/msvcr120.dll',
97 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211
98 ['asan==0 or lsan==0 or msan==0 or tsan==0', {