| OLD | NEW |
| (Empty) |
| 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 ['use_x11==0', { | |
| 7 'variables': { | |
| 8 'command': [ | |
| 9 '../testing/test_env.py', | |
| 10 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', | |
| 11 '--test-launcher-bot-mode', | |
| 12 '--asan=<(asan)', | |
| 13 '--msan=<(msan)', | |
| 14 '--tsan=<(tsan)', | |
| 15 ], | |
| 16 }, | |
| 17 }], | |
| 18 ['use_x11==1', { | |
| 19 'variables': { | |
| 20 'command': [ | |
| 21 '../testing/xvfb.py', | |
| 22 '<(PRODUCT_DIR)', | |
| 23 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', | |
| 24 '--test-launcher-bot-mode', | |
| 25 '--asan=<(asan)', | |
| 26 '--msan=<(msan)', | |
| 27 '--tsan=<(tsan)', | |
| 28 ], | |
| 29 'files': [ | |
| 30 '../testing/xvfb.py', | |
| 31 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', | |
| 32 ], | |
| 33 }, | |
| 34 }], | |
| 35 ['OS=="linux"', { | |
| 36 'variables': { | |
| 37 'files': [ | |
| 38 '<(PRODUCT_DIR)/libclearkeycdm.so', | |
| 39 '<(PRODUCT_DIR)/libclearkeycdmadapter.so', | |
| 40 '<(PRODUCT_DIR)/libpower_saver_test_plugin.so', | |
| 41 '<(PRODUCT_DIR)/libppapi_tests.so', | |
| 42 ], | |
| 43 }, | |
| 44 }], | |
| 45 ['OS=="linux" and branding=="Chrome" and enable_pepper_cdms==1', { | |
| 46 'variables': { | |
| 47 'files': [ | |
| 48 '<(PRODUCT_DIR)/libwidevinecdm.so', | |
| 49 '<(PRODUCT_DIR)/libwidevinecdmadapter.so', | |
| 50 ], | |
| 51 }, | |
| 52 }], | |
| 53 ['OS=="linux" or OS=="mac" or OS=="win"', { | |
| 54 'variables': { | |
| 55 'files': [ | |
| 56 '../content/test/data/', | |
| 57 '../google_apis/test/', | |
| 58 '../media/test/data/', | |
| 59 '../media/test/data/', | |
| 60 '../net/data/', | |
| 61 '../net/tools/testserver/', | |
| 62 '../ppapi/tests/test_case.html', | |
| 63 '../ppapi/tests/test_case.html.mock-http-headers', | |
| 64 '../ppapi/tests/test_page.css', | |
| 65 '../ppapi/tests/test_page.css.mock-http-headers', | |
| 66 '../testing/test_env.py', | |
| 67 '../third_party/accessibility-audit/axs_testing.js', | |
| 68 '../third_party/chaijs/chai.js', | |
| 69 '../third_party/mocha/mocha.js', | |
| 70 '../third_party/pyftpdlib/', | |
| 71 '../third_party/pywebsocket/', | |
| 72 '../third_party/simplejson/', | |
| 73 '../third_party/tlslite/', | |
| 74 '../ui/webui/resources/js/', | |
| 75 '<(PRODUCT_DIR)/browser_tests.pak', | |
| 76 '<(PRODUCT_DIR)/pseudo_locales/', | |
| 77 '<(PRODUCT_DIR)/pyproto/', | |
| 78 # TODO(jam): above is directory for GYP. GN uses: | |
| 79 #'<(SHARED_INTERMEDIATE_DIR)/google/', | |
| 80 #'<(SHARED_INTERMEDIATE_DIR)/policy/proto/', | |
| 81 '<(PRODUCT_DIR)/remoting/unittests/', | |
| 82 '<(PRODUCT_DIR)/test_case.html', | |
| 83 '<(PRODUCT_DIR)/test_case.html.mock-http-headers', | |
| 84 '<(PRODUCT_DIR)/test_data/', | |
| 85 '<(PRODUCT_DIR)/test_page.css', | |
| 86 '<(PRODUCT_DIR)/test_page.css.mock-http-headers', | |
| 87 '<(PRODUCT_DIR)/test_url_loader_data/', | |
| 88 'browser/policy/test/asn1der.py', | |
| 89 'browser/policy/test/policy_testserver.py', | |
| 90 'common/extensions/docs/examples/apps/calculator/', | |
| 91 'test/data/', | |
| 92 'third_party/mock4js/', | |
| 93 ], | |
| 94 }, | |
| 95 }], | |
| 96 ['OS=="linux" or OS=="win"', { | |
| 97 'variables': { | |
| 98 'files': [ | |
| 99 '<(PRODUCT_DIR)/chrome_100_percent.pak', | |
| 100 '<(PRODUCT_DIR)/chrome_200_percent.pak', | |
| 101 ], | |
| 102 }, | |
| 103 }], | |
| 104 ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win")', { | |
| 105 'variables': { | |
| 106 'files': [ | |
| 107 '<(PRODUCT_DIR)/nacl_test_data/', | |
| 108 '<(PRODUCT_DIR)/pnacl/', | |
| 109 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf', | |
| 110 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf', | |
| 111 ], | |
| 112 }, | |
| 113 }], | |
| 114 ['OS=="linux" or OS=="win"', { | |
| 115 'variables': { | |
| 116 'files': [ | |
| 117 '../third_party/bidichecker/', | |
| 118 ], | |
| 119 }, | |
| 120 }], | |
| 121 ['disable_nacl==0 and (OS=="linux" or OS=="win")', { | |
| 122 'variables': { | |
| 123 'files': [ | |
| 124 '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)', | |
| 125 ], | |
| 126 }, | |
| 127 }], | |
| 128 ['disable_nacl==0 and (OS=="linux" or OS=="mac" or OS=="win") and (target_ar
ch=="x64" or target_arch=="ia32" or target_arch=="arm")', { | |
| 129 'variables': { | |
| 130 'files': [ | |
| 131 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf', | |
| 132 ], | |
| 133 }, | |
| 134 }], | |
| 135 ['disable_nacl==0 and OS=="linux" and (target_arch=="ia32" or target_arch=="
x64" or target_arch=="arm")', { | |
| 136 'variables': { | |
| 137 'files': [ | |
| 138 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_nonsfi.nmf', | |
| 139 ], | |
| 140 }, | |
| 141 }], | |
| 142 ['disable_nacl==0 and OS=="linux" and target_arch=="arm"', { | |
| 143 'variables': { | |
| 144 'files': [ | |
| 145 '<(PRODUCT_DIR)/libarm/', | |
| 146 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_arm.nexe', | |
| 147 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_arm.nexe', | |
| 148 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm.nexe', | |
| 149 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_arm_nonsfi.nexe', | |
| 150 ], | |
| 151 }, | |
| 152 }], | |
| 153 ['disable_nacl==0 and (OS=="win" or ((OS=="linux" or OS=="mac") and target_a
rch=="x64"))', { | |
| 154 'variables': { | |
| 155 'files': [ | |
| 156 '<(PRODUCT_DIR)/lib64/', | |
| 157 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe', | |
| 158 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe', | |
| 159 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe', | |
| 160 ], | |
| 161 }, | |
| 162 }], | |
| 163 ['disable_nacl==0 and target_arch=="ia32" and (OS=="mac" or OS=="linux" or O
S=="win")', { | |
| 164 'variables': { | |
| 165 'files': [ | |
| 166 '<(PRODUCT_DIR)/lib32/', | |
| 167 '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe', | |
| 168 '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe', | |
| 169 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe', | |
| 170 ], | |
| 171 }, | |
| 172 }], | |
| 173 ['disable_nacl==0 and OS=="linux" and (target_arch=="x64" or target_arch=="i
a32")', { | |
| 174 'variables': { | |
| 175 'files': [ | |
| 176 '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32_nonsfi.nexe', | |
| 177 ], | |
| 178 }, | |
| 179 }], | |
| 180 ['OS=="mac"', { | |
| 181 'variables': { | |
| 182 'files': [ | |
| 183 '<(PRODUCT_DIR)/content_shell.pak', | |
| 184 '<(PRODUCT_DIR)/osmesa.so', | |
| 185 '<(PRODUCT_DIR)/power_saver_test_plugin.plugin/Contents/MacOS/power_sa
ver_test_plugin', | |
| 186 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', | |
| 187 ], | |
| 188 }, | |
| 189 }], | |
| 190 # We don't support ia32 target for mac. Still check arch for completeness. | |
| 191 ['OS=="mac" and target_arch=="x64"', { | |
| 192 'variables': { | |
| 193 'files': [ | |
| 194 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/mac_x64/clearkeycdmadap
ter.plugin', | |
| 195 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/mac_x64/libclearkeycdm.
dylib', | |
| 196 ], | |
| 197 }, | |
| 198 }], | |
| 199 ['OS=="mac" and target_arch=="x64" and branding=="Chrome" and enable_pepper_
cdms==1', { | |
| 200 'variables': { | |
| 201 'files': [ | |
| 202 '<(PRODUCT_DIR)/WidevineCdm/manifest.json', | |
| 203 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/mac_x64/libwidevinecdm.
dylib', | |
| 204 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/mac_x64/widevinecdmadap
ter.plugin', | |
| 205 ], | |
| 206 }, | |
| 207 }], | |
| 208 ['OS=="win"', { | |
| 209 'variables': { | |
| 210 'files': [ | |
| 211 '../native_client/build/build_nexe.py', | |
| 212 '<(PRODUCT_DIR)/chrome_elf.dll', | |
| 213 '<(PRODUCT_DIR)/crashpad_handler.exe', | |
| 214 '<(PRODUCT_DIR)/power_saver_test_plugin.dll', | |
| 215 '<(PRODUCT_DIR)/ppapi_tests.dll', | |
| 216 'tools/build/repack_locales.py', | |
| 217 ], | |
| 218 }, | |
| 219 }], | |
| 220 ['OS=="win" and target_arch=="ia32"', { | |
| 221 'variables': { | |
| 222 'files': [ | |
| 223 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/win_x86/clearkeycdm.dll
', | |
| 224 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/win_x86/clearkeycdmadap
ter.dll', | |
| 225 ], | |
| 226 }, | |
| 227 }], | |
| 228 ['OS=="win" and target_arch=="x64"', { | |
| 229 'variables': { | |
| 230 'files': [ | |
| 231 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/win_x64/clearkeycdm.dll
', | |
| 232 '<(PRODUCT_DIR)/ClearKeyCdm/_platform_specific/win_x64/clearkeycdmadap
ter.dll', | |
| 233 ], | |
| 234 }, | |
| 235 }], | |
| 236 ['OS=="win" and target_arch=="ia32" and branding=="Chrome" and enable_pepper
_cdms==1', { | |
| 237 'variables': { | |
| 238 'files': [ | |
| 239 '<(PRODUCT_DIR)/WidevineCdm/manifest.json', | |
| 240 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/win_x86/widevinecdm.dll
', | |
| 241 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/win_x86/widevinecdmadap
ter.dll', | |
| 242 ], | |
| 243 }, | |
| 244 }], | |
| 245 ['OS=="win" and target_arch=="x64" and branding=="Chrome" and enable_pepper_
cdms==1', { | |
| 246 'variables': { | |
| 247 'files': [ | |
| 248 '<(PRODUCT_DIR)/WidevineCdm/manifest.json', | |
| 249 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/win_x64/widevinecdm.dll
', | |
| 250 '<(PRODUCT_DIR)/WidevineCdm/_platform_specific/win_x64/widevinecdmadap
ter.dll', | |
| 251 ], | |
| 252 }, | |
| 253 }], | |
| 254 ['OS=="win" and target_arch=="ia32"', { | |
| 255 'variables': { | |
| 256 'files': [ | |
| 257 '<(PRODUCT_DIR)/wow_helper.exe', | |
| 258 ], | |
| 259 }, | |
| 260 }], | |
| 261 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | |
| 262 'variables': { | |
| 263 'files': [ | |
| 264 '<(PRODUCT_DIR)/browser_tests.exe.pdb', | |
| 265 ], | |
| 266 }, | |
| 267 }], | |
| 268 ['OS=="mac" and asan==1 and fastbuild==0', { | |
| 269 'variables': { | |
| 270 'files': [ | |
| 271 '<(PRODUCT_DIR)/browser_tests.dSYM/', | |
| 272 ], | |
| 273 }, | |
| 274 }], | |
| 275 ['chromeos==1', { | |
| 276 'variables': { | |
| 277 'files': [ | |
| 278 '../chromeos/test/data/', | |
| 279 '../components/chrome_apps/webstore_widget/cws_widget/', | |
| 280 '../ui/file_manager/file_manager/', | |
| 281 '../ui/file_manager/gallery/', | |
| 282 '../ui/file_manager/image_loader/', | |
| 283 '../ui/file_manager/integration_tests/', | |
| 284 '../ui/webui/resources/js/', | |
| 285 '../third_party/analytics/', | |
| 286 '../third_party/polymer/v1_0/components-chromium/polymer/', | |
| 287 '../chrome/browser/resources/chromeos/wallpaper_manager/', | |
| 288 '<(PRODUCT_DIR)/chromevox_test_data/', | |
| 289 '<(PRODUCT_DIR)/content_shell.pak', | |
| 290 '<(PRODUCT_DIR)/keyboard_resources.pak', | |
| 291 '<(PRODUCT_DIR)/locales/', | |
| 292 '<(PRODUCT_DIR)/nacl_helper', | |
| 293 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | |
| 294 '<(PRODUCT_DIR)/resources/chromeos/', | |
| 295 'browser/chromeos/login/test/https_forwarder.py', | |
| 296 ], | |
| 297 }, | |
| 298 }], | |
| 299 ], | |
| 300 'includes': [ | |
| 301 '../base/base.isolate', | |
| 302 'chrome.isolate', | |
| 303 ], | |
| 304 } | |
| OLD | NEW |