Roll src/third_party/WebKit 46ff567:25f83be (svn 200502:200512)
[chromium-blink-merge.git] / base / base.isolate
blob948c60045ff24213210f8f7c4c87fbd9559131eb
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.
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     # Sanitizer-instrumented third-party libraries (if enabled).
11     '../third_party/instrumented_libraries/instrumented_libraries.isolate',
12   ],
13   'conditions': [
14     ['use_custom_libcxx==1', {
15       'variables': {
16         'files': [
17           '<(PRODUCT_DIR)/lib/libc++.so',
18         ],
19       },
20     }],
21     ['OS=="mac" and asan==1', {
22       'variables': {
23         'files': [
24           '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib',
25         ],
26       },
27     }],
28     ['OS=="win"', {
29       # Required for base/stack_trace_win.cc to symbolize correctly.
30       'variables': {
31         'files': [
32           '<(PRODUCT_DIR)/dbghelp.dll',
33         ],
34       },
35     }],
36     ['OS=="win" and asan==1 and component=="shared_library"', {
37       'variables': {
38         'files': [
39           # We only need x.y.z/lib/windows/clang_rt.asan_dynamic-i386.dll,
40           # but since the version (x.y.z) changes, just grab the whole dir.
41           '../third_party/llvm-build/Release+Asserts/lib/clang/',
42         ],
43       },
44     }],
45     ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', {
46       'variables': {
47         'files': [
48           # For llvm-symbolizer.
49           '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6',
50         ],
51       },
52     }],
53     ['asan==1 or lsan==1 or msan==1 or tsan==1', {
54       'variables': {
55         'files': [
56           '../tools/valgrind/asan/',
57           '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)',
58         ],
59       },
60     }],
61     # Copy the VS runtime DLLs into the isolate so that they
62     # don't have to be preinstalled on the target machine.
63     ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
64       'variables': {
65         'files': [
66           '<(PRODUCT_DIR)/x64/msvcp120d.dll',
67           '<(PRODUCT_DIR)/x64/msvcr120d.dll',
68         ],
69       },
70     }],
71     ['OS=="win" and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
72       'variables': {
73         'files': [
74           '<(PRODUCT_DIR)/x64/msvcp120.dll',
75           '<(PRODUCT_DIR)/x64/msvcr120.dll',
76         ],
77       },
78     }],
79     ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
80       'variables': {
81         'files': [
82           '<(PRODUCT_DIR)/msvcp120d.dll',
83           '<(PRODUCT_DIR)/msvcr120d.dll',
84         ],
85       },
86     }],
87     ['OS=="win" and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
88       'variables': {
89         'files': [
90           '<(PRODUCT_DIR)/msvcp120.dll',
91           '<(PRODUCT_DIR)/msvcr120.dll',
92         ],
93       },
94     }],
95     # Workaround for https://code.google.com/p/swarming/issues/detail?id=211
96     ['asan==0 or lsan==0 or msan==0 or tsan==0', {
97       'variables': {},
98     }],
99   ],