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 'includes': [ 6 'chrome.isolate', 7 ], 8 'conditions': [ 9 ['OS=="linux"', { 10 'variables': { 11 'command': [ 12 '../testing/xvfb.py', 13 '<(PRODUCT_DIR)', 14 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 15 '--test-launcher-bot-mode', 16 ], 17 'isolate_dependency_tracked': [ 18 '../testing/xvfb.py', 19 '<(PRODUCT_DIR)/libclearkeycdm.so', 20 '<(PRODUCT_DIR)/libclearkeycdmadapter.so', 21 '<(PRODUCT_DIR)/libppapi_tests.so', 22 ], 23 }, 24 }], 25 ['OS=="linux" and use_ozone==0', { 26 'variables': { 27 'isolate_dependency_tracked': [ 28 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 29 ], 30 }, 31 }], 32 ['OS=="linux" and libpeer_target_type=="loadable_module"', { 33 'variables': { 34 'isolate_dependency_tracked': [ 35 '<(PRODUCT_DIR)/lib/libpeerconnection.so', 36 ], 37 }, 38 }], 39 ['OS=="linux" or OS=="mac" or OS=="win"', { 40 'variables': { 41 'isolate_dependency_tracked': [ 42 '../media/test/data/', 43 '../ppapi/tests/test_case.html', 44 '../ppapi/tests/test_page.css', 45 '../testing/test_env.py', 46 '../third_party/accessibility-audit/axs_testing.js', 47 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 48 '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)', 49 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf', 50 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf', 51 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf', 52 '<(PRODUCT_DIR)/test_case.html', 53 '<(PRODUCT_DIR)/test_case.html.mock-http-headers', 54 '<(PRODUCT_DIR)/test_page.css', 55 'browser/policy/test/asn1der.py', 56 'browser/policy/test/policy_testserver.py', 57 ], 58 'isolate_dependency_untracked': [ 59 '../content/test/data/', 60 '../google_apis/test/', 61 '../media/test/data/', 62 '../net/data/', 63 '../net/tools/testserver/', 64 '../third_party/pyftpdlib/', 65 '../third_party/pywebsocket/', 66 '../third_party/safe_browsing/', 67 '../third_party/simplejson/', 68 '../third_party/tlslite/', 69 '<(PRODUCT_DIR)/nacl_test_data/', 70 '<(PRODUCT_DIR)/pnacl/', 71 '<(PRODUCT_DIR)/pseudo_locales/', 72 '<(PRODUCT_DIR)/pyproto/', 73 '<(PRODUCT_DIR)/remoting/unittests/', 74 '<(PRODUCT_DIR)/test_data/', 75 '<(PRODUCT_DIR)/test_url_loader_data/', 76 'common/extensions/docs/examples/apps/calculator/', 77 'test/data/', 78 'third_party/mock4js/', 79 ], 80 'read_only': 1, 81 }, 82 }], 83 ['OS=="linux" or OS=="win"', { 84 'variables': { 85 'isolate_dependency_tracked': [ 86 '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)', 87 ], 88 'isolate_dependency_untracked': [ 89 '../third_party/bidichecker/', 90 ], 91 }, 92 }], 93 ['OS=="win" or (OS=="linux" and target_arch=="x64")', { 94 'variables': { 95 'isolate_dependency_tracked': [ 96 '<(PRODUCT_DIR)/lib64/', 97 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe', 98 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe', 99 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe', 100 ], 101 }, 102 }], 103 ['OS=="mac"', { 104 'variables': { 105 'isolate_dependency_tracked': [ 106 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin', 107 '<(PRODUCT_DIR)/content_shell.pak', 108 '<(PRODUCT_DIR)/libclearkeycdm.dylib', 109 '<(PRODUCT_DIR)/osmesa.so', 110 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 111 ], 112 'isolate_dependency_untracked': [ 113 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/', 114 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/', 115 ], 116 }, 117 }], 118 ['OS=="mac" and target_arch=="ia32"', { 119 'variables': { 120 'isolate_dependency_tracked': [ 121 '<(PRODUCT_DIR)/lib32/', 122 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe', 123 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe', 124 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe', 125 ], 126 }, 127 }], 128 ['OS=="mac" or OS=="win"', { 129 'variables': { 130 'command': [ 131 '../testing/test_env.py', 132 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 133 '--test-launcher-bot-mode', 134 ], 135 }, 136 }], 137 ['OS=="win"', { 138 'variables': { 139 'isolate_dependency_tracked': [ 140 '../native_client/build/build_nexe.py', 141 '<(PRODUCT_DIR)/chrome_elf.dll', 142 '<(PRODUCT_DIR)/clearkeycdm.dll', 143 '<(PRODUCT_DIR)/clearkeycdmadapter.dll', 144 '<(PRODUCT_DIR)/ppapi_tests.dll', 145 'tools/build/repack_locales.py', 146 ], 147 'isolate_dependency_untracked': [ 148 '<(PRODUCT_DIR)/plugins/', 149 ], 150 }, 151 }], 152 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 153 'variables': { 154 'isolate_dependency_untracked': [ 155 '<(PRODUCT_DIR)/browser_tests.exe.pdb', 156 ], 157 }, 158 }], 159 ['OS=="win" and libpeer_target_type=="loadable_module"', { 160 'variables': { 161 'isolate_dependency_tracked': [ 162 '<(PRODUCT_DIR)/libpeerconnection.dll', 163 ], 164 }, 165 }], 166 ['chromeos==1', { 167 'variables': { 168 'isolate_dependency_tracked': [ 169 '<(PRODUCT_DIR)/content_shell.pak', 170 '<(PRODUCT_DIR)/keyboard_resources.pak', 171 '<(PRODUCT_DIR)/libexif.so', 172 '<(PRODUCT_DIR)/nacl_helper', 173 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', 174 'browser/chromeos/login/test/https_forwarder.py', 175 ], 176 'isolate_dependency_untracked': [ 177 '../chromeos/test/data/', 178 '../ui/file_manager/file_manager/', 179 '../ui/webui/resources/js/', 180 '<(PRODUCT_DIR)/chromevox_test_data/', 181 '<(PRODUCT_DIR)/locales/', 182 '<(PRODUCT_DIR)/resources/chromeos/', 183 ], 184 }, 185 }], 186 ], 187 } 188