OLD | NEW |
1 # Copyright 2015 the V8 project authors. All rights reserved. | 1 # Copyright 2015 the V8 project 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 '../third_party/icu/icu.isolate', | 6 '../third_party/icu/icu.isolate', |
7 '../gypfiles/config/win/msvs_dependencies.isolate', | 7 '../gypfiles/config/win/msvs_dependencies.isolate', |
8 ], | 8 ], |
9 'conditions': [ | 9 'conditions': [ |
10 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { | 10 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
11 'variables': { | 11 'variables': { |
12 'files': [ | 12 'files': [ |
13 '<(PRODUCT_DIR)/natives_blob.bin', | 13 '<(PRODUCT_DIR)/natives_blob.bin', |
14 '<(PRODUCT_DIR)/snapshot_blob.bin', | 14 '<(PRODUCT_DIR)/snapshot_blob.bin', |
15 ], | 15 ], |
16 }, | 16 }, |
17 }], | 17 }], |
18 ['OS=="mac" and asan==1', { | |
19 'variables': { | |
20 'files': [ | |
21 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', | |
22 ], | |
23 }, | |
24 }], | |
25 ['tsan==1', { | 18 ['tsan==1', { |
26 'variables': { | 19 'variables': { |
27 'files': [ | 20 'files': [ |
28 '../tools/sanitizers/tsan_suppressions.txt', | 21 '../tools/sanitizers/tsan_suppressions.txt', |
29 ], | 22 ], |
30 }, | 23 }, |
31 }], | 24 }], |
32 ['OS=="linux" and (asan==1 or cfi_vptr==1 or msan==1 or tsan==1)', { | 25 ['OS=="linux" and (asan==1 or cfi_vptr==1 or msan==1 or tsan==1)', { |
33 'variables': { | 26 'variables': { |
34 'files': [ | 27 'files': [ |
35 # For llvm-symbolizer. | 28 # For llvm-symbolizer. |
36 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', | 29 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', |
37 ], | 30 ], |
38 }, | 31 }, |
39 }], | 32 }], |
40 ['asan==1 or cfi_vptr==1 or msan==1 or tsan==1', { | 33 ['asan==1 or cfi_vptr==1 or msan==1 or tsan==1', { |
41 'variables': { | 34 'variables': { |
42 'files': [ | 35 'files': [ |
43 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUT
ABLE_SUFFIX)', | 36 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUT
ABLE_SUFFIX)', |
44 ], | 37 ], |
45 }, | 38 }, |
46 }], | 39 }], |
47 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 | 40 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 |
48 ['asan==0 or cfi_vptr==0 or msan==0 or tsan==0', { | 41 ['asan==0 or cfi_vptr==0 or msan==0 or tsan==0', { |
49 'variables': {}, | 42 'variables': {}, |
50 }], | 43 }], |
51 ], | 44 ], |
52 } | 45 } |
OLD | NEW |