Don't clobber the download metadata file when downloading a file for which we don...
[chromium-blink-merge.git] / extensions / extensions_unittests.isolate
blobb17b435f618f9e2630e9584346be39e3b7a52339
1 # Copyright 2015 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.
5   'conditions': [
6     ['use_x11==0', {
7       'variables': {
8         'command': [
9           '../testing/test_env.py',
10           '<(PRODUCT_DIR)/extensions_unittests<(EXECUTABLE_SUFFIX)',
11           '--brave-new-test-launcher',
12           '--test-launcher-bot-mode',
13           '--asan=<(asan)',
14           '--msan=<(msan)',
15           '--tsan=<(tsan)',
16         ],
17       },
18     }],
19     ['use_x11==1', {
20       'variables': {
21         'command': [
22           '../testing/xvfb.py',
23           '<(PRODUCT_DIR)',
24           '<(PRODUCT_DIR)/extensions_unittests<(EXECUTABLE_SUFFIX)',
25           '--brave-new-test-launcher',
26           '--test-launcher-bot-mode',
27           '--asan=<(asan)',
28           '--msan=<(msan)',
29           '--tsan=<(tsan)',
30         ],
31         'files': [
32           '../testing/xvfb.py',
33           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34         ],
35       },
36     }],
37     ['OS=="linux" or OS=="mac" or OS=="win"', {
38       'variables': {
39         'files': [
40           '../chrome/test/data/extensions/',
41           '../testing/test_env.py',
42           '<(PRODUCT_DIR)/extensions_unittests<(EXECUTABLE_SUFFIX)',
43           '<(PRODUCT_DIR)/extensions_shell_and_test.pak',
44           'test/data/',
45         ],
46       },
47     }],
48     ['OS=="linux"', {
49       'variables': {
50         'files': [
51           '<(PRODUCT_DIR)/libosmesa.so',
52         ],
53       },
54     }],
55     ['OS=="mac"', {
56       'variables': {
57         'files': [
58           '<(PRODUCT_DIR)/osmesa.so',
59         ],
60       },
61     }],
62     ['OS=="win"', {
63       'variables': {
64         'files': [
65           '<(PRODUCT_DIR)/osmesa.dll',
66         ],
67       },
68     }],
69   ],
70   'includes': [
71     '../base/base.isolate',
72     '../gin/v8.isolate',
73   ],