OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'includes': [ | 5 'includes': [ |
6 # While the target 'base' doesn't depend on ../third_party/icu/icu.gyp | 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 | 7 # itself, virtually all targets using it has to include icu. The only |
8 # exception is the Windows sandbox (?). | 8 # exception is the Windows sandbox (?). |
9 '../third_party/icu/icu.isolate', | 9 '../third_party/icu/icu.isolate', |
10 # Sanitizer-instrumented third-party libraries (if enabled). | 10 # Sanitizer-instrumented third-party libraries (if enabled). |
11 '../third_party/instrumented_libraries/instrumented_libraries.isolate', | 11 '../third_party/instrumented_libraries/instrumented_libraries.isolate', |
12 ], | 12 ], |
13 'conditions': [ | 13 'conditions': [ |
14 ['use_custom_libcxx==1', { | 14 ['use_custom_libcxx==1', { |
15 'variables': { | 15 'variables': { |
16 'files': [ | 16 'files': [ |
17 '<(PRODUCT_DIR)/lib/libc++.so', | 17 '<(PRODUCT_DIR)/lib/libc++.so', |
18 ], | 18 ], |
19 }, | 19 }, |
20 }], | 20 }], |
21 ['OS=="mac" and asan==1', { | 21 ['OS=="mac" and asan==1', { |
22 'variables': { | 22 'variables': { |
23 'files': [ | 23 'files': [ |
24 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', | 24 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
25 ], | 25 ], |
26 }, | 26 }, |
27 }], | 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"', { | 28 ['OS=="win" and asan==1 and component=="shared_library"', { |
37 'variables': { | 29 'variables': { |
38 'files': [ | 30 'files': [ |
39 # We only need x.y.z/lib/windows/clang_rt.asan_dynamic-i386.dll, | 31 # 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. | 32 # but since the version (x.y.z) changes, just grab the whole dir. |
41 '../third_party/llvm-build/Release+Asserts/lib/clang/', | 33 '../third_party/llvm-build/Release+Asserts/lib/clang/', |
42 ], | 34 ], |
43 }, | 35 }, |
44 }], | 36 }], |
45 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', { | 37 ['OS=="linux" and (asan==1 or lsan==1 or msan==1 or tsan==1)', { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 '<(PRODUCT_DIR)/msvcr120.dll', | 83 '<(PRODUCT_DIR)/msvcr120.dll', |
92 ], | 84 ], |
93 }, | 85 }, |
94 }], | 86 }], |
95 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 | 87 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 |
96 ['asan==0 or lsan==0 or msan==0 or tsan==0', { | 88 ['asan==0 or lsan==0 or msan==0 or tsan==0', { |
97 'variables': {}, | 89 'variables': {}, |
98 }], | 90 }], |
99 ], | 91 ], |
100 } | 92 } |
OLD | NEW |