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',
10 # Sanitizer-instrumented third-party libraries (if enabled).
11 '../third_party/instrumented_libraries/instrumented_libraries.isolate',
12 # MSVS runtime libraries.
13 '../build/config/win/msvs_dependencies.isolate',
16 ['use_custom_libcxx==1', {
19 '<(PRODUCT_DIR)/lib/libc++.so',
23 ['OS=="mac" and asan==1', {
26 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
31 # Required for base/stack_trace_win.cc to symbolize correctly.
34 '<(PRODUCT_DIR)/dbghelp.dll',
38 ['OS=="win" and asan==1 and component=="shared_library"', {
41 # We only need x.y.z/lib/windows/clang_rt.asan_dynamic-i386.dll,
42 # but since the version (x.y.z) changes, just grab the whole dir.
43 '../third_party/llvm-build/Release+Asserts/lib/clang/',
47 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
50 # For llvm-symbolizer.
51 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
55 ['asan==1 or lsan==1 or msan==1 or tsan==1', {
58 '../tools/valgrind/asan/',
59 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
63 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211
64 ['asan==0 or lsan==0 or msan==0 or tsan==0', {