1 # Copyright (c) 2012 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. 4 { 5 'conditions': [ 6 ['OS=="android" or OS=="linux"', { 7 'variables': { 8 'isolate_dependency_untracked': [ 9 '<(PRODUCT_DIR)/test_data/', 10 ], 11 }, 12 }], 13 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 14 'variables': { 15 'isolate_dependency_tracked': [ 16 '../third_party/accessibility-audit/axs_testing.js', 17 '../tools/metrics/histograms/histograms.xml', 18 '<(PRODUCT_DIR)/resources.pak', 19 ], 20 'isolate_dependency_untracked': [ 21 '../base/test/data/', 22 '../components/test/data/', 23 '../extensions/test/data/', 24 '../net/data/', 25 '../third_party/hunspell_dictionaries/', 26 '../third_party/zlib/google/test/data/', 27 'test/data/', 28 'third_party/mock4js/', 29 ], 30 }, 31 }], 32 ['OS=="android" or OS=="linux" or OS=="win"', { 33 'variables': { 34 'isolate_dependency_tracked': [ 35 '<(PRODUCT_DIR)/chrome_100_percent.pak', 36 '<(PRODUCT_DIR)/locales/en-US.pak', 37 ], 38 }, 39 }], 40 ['OS=="linux"', { 41 'variables': { 42 'command': [ 43 '../testing/xvfb.py', 44 '<(PRODUCT_DIR)', 45 '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)', 46 '--brave-new-test-launcher', 47 '--test-launcher-bot-mode', 48 ], 49 'isolate_dependency_tracked': [ 50 '../testing/xvfb.py', 51 '<(PRODUCT_DIR)/libffmpegsumo.so', 52 '<(PRODUCT_DIR)/libosmesa.so', 53 '<(PRODUCT_DIR)/locales/fr.pak', 54 ], 55 }, 56 }], 57 ['OS=="linux" and use_ozone==0', { 58 'variables': { 59 'isolate_dependency_tracked': [ 60 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 61 ], 62 }, 63 }], 64 ['OS=="linux" or OS=="mac" or OS=="win"', { 65 'variables': { 66 'isolate_dependency_tracked': [ 67 '../testing/test_env.py', 68 '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)', 69 ], 70 'isolate_dependency_untracked': [ 71 '../net/tools/testserver/', 72 '../third_party/pyftpdlib/', 73 '../third_party/pywebsocket/', 74 '../third_party/tlslite/', 75 '<(PRODUCT_DIR)/pyproto/', 76 '<(PRODUCT_DIR)/test_data/', 77 ], 78 }, 79 }], 80 ['OS=="linux" or OS=="mac"', { 81 'variables': { 82 # Can't be enabled on Windows due to http://crbug.com/342913 83 'read_only': 1, 84 }, 85 }], 86 ['OS=="mac"', { 87 'variables': { 88 'isolate_dependency_tracked': [ 89 '<(PRODUCT_DIR)/exif.so', 90 '<(PRODUCT_DIR)/ffmpegsumo.so', 91 '<(PRODUCT_DIR)/osmesa.so', 92 ], 93 'isolate_dependency_untracked': [ 94 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/', 95 ], 96 }, 97 }], 98 ['OS=="mac" or OS=="win"', { 99 'variables': { 100 'command': [ 101 '../testing/test_env.py', 102 '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)', 103 '--brave-new-test-launcher', 104 '--test-launcher-bot-mode', 105 ], 106 }, 107 }], 108 ['OS=="win"', { 109 'variables': { 110 'isolate_dependency_tracked': [ 111 '<(PRODUCT_DIR)/blacklist_test_dll_1.dll', 112 '<(PRODUCT_DIR)/chrome_elf.dll', 113 '<(PRODUCT_DIR)/ffmpegsumo.dll', 114 '<(PRODUCT_DIR)/libexif.dll', 115 '<(PRODUCT_DIR)/osmesa.dll', 116 '<(PRODUCT_DIR)/verifier_test_dll_1.dll', 117 '<(PRODUCT_DIR)/verifier_test_dll_2.dll', 118 'test/data/safe_browsing/signed_binary.dll', 119 ], 120 'isolate_dependency_untracked': [ 121 '../ppapi/lib/gl/include/KHR/', 122 '../skia/ext/data/', 123 '../ui/base/glib/', 124 ], 125 }, 126 }], 127 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 128 'variables': { 129 'isolate_dependency_untracked': [ 130 '<(PRODUCT_DIR)/unit_tests.exe.pdb', 131 ], 132 }, 133 }], 134 ['chromeos==1', { 135 'variables': { 136 'isolate_dependency_tracked': [ 137 '<(PRODUCT_DIR)/libexif.so', 138 ], 139 'isolate_dependency_untracked': [ 140 '../chromeos/test/data/network/', 141 ], 142 }, 143 }], 144 ], 145 'includes': [ 146 '../base/base.isolate', 147 ], 148 } 149