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 3# found in the LICENSE file. 4{ 5 'includes': [ 6 '../third_party/icu/icu.isolate', 7 '../build/config/win/msvs_dependencies.isolate', 8 ], 9 'conditions': [ 10 ['use_custom_libcxx==1', { 11 'variables': { 12 'files': [ 13 '<(PRODUCT_DIR)/lib/libc++.so', 14 ], 15 }, 16 }], 17 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { 18 'variables': { 19 'files': [ 20 '<(PRODUCT_DIR)/natives_blob.bin', 21 '<(PRODUCT_DIR)/snapshot_blob.bin', 22 ], 23 }, 24 }], 25 ['OS=="linux" and component=="shared_library" and target_arch=="ia32"', { 26 'variables': { 27 'files': [ 28 '<(PRODUCT_DIR)/lib/', 29 ], 30 }, 31 }], 32 ['OS=="win" and component=="shared_library"', { 33 'variables': { 34 'files': [ 35 '<(PRODUCT_DIR)/icui18n.dll', 36 '<(PRODUCT_DIR)/icuuc.dll', 37 '<(PRODUCT_DIR)/v8.dll', 38 ], 39 }, 40 }], 41 ['OS=="mac" and asan==1', { 42 'variables': { 43 'files': [ 44 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', 45 ], 46 }, 47 }], 48 ['tsan==1', { 49 'variables': { 50 'files': [ 51 '../tools/sanitizers/tsan_suppressions.txt', 52 ], 53 }, 54 }], 55 ['OS=="linux" and (asan==1 or cfi_vptr==1 or msan==1 or tsan==1)', { 56 'variables': { 57 'files': [ 58 # For llvm-symbolizer. 59 '../third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6', 60 ], 61 }, 62 }], 63 ['asan==1 or cfi_vptr==1 or msan==1 or tsan==1', { 64 'variables': { 65 'files': [ 66 '../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer<(EXECUTABLE_SUFFIX)', 67 ], 68 }, 69 }], 70 # Workaround for https://code.google.com/p/swarming/issues/detail?id=211 71 ['asan==0 or cfi_vptr==0 or msan==0 or tsan==0', { 72 'variables': {}, 73 }], 74 ], 75} 76