Roll src/third_party/skia 96e657d:4412465
[chromium-blink-merge.git] / cc / cc_unittests.isolate
blobeab33960f94856aa001d4c003108bbb7f74532d7
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     ['OS=="linux" or OS=="mac" or OS=="win"', {
7       'variables': {
8         'files': [
9           'test/data/',
10           '../testing/test_env.py',
11           '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)',
12         ],
13       },
14     }],
15     ['OS=="linux"', {
16       'variables': {
17         'command': [
18           '../testing/xvfb.py',
19           '<(PRODUCT_DIR)',
20           '<(PRODUCT_DIR)/cc_unittests',
21           '--brave-new-test-launcher',
22           '--test-launcher-bot-mode',
23           '--asan=<(asan)',
24           '--msan=<(msan)',
25           '--tsan=<(tsan)',
26         ],
27         'files': [
28           '../testing/xvfb.py',
29           '<(PRODUCT_DIR)/libffmpegsumo.so',
30           '<(PRODUCT_DIR)/libosmesa.so',
31         ],
32       },
33     }],
34     ['OS=="linux" and use_ozone==0', {
35       'variables': {
36         'files': [
37           '<(PRODUCT_DIR)/xdisplaycheck',
38         ],
39       },
40     }],
41     ['OS=="mac"', {
42       'variables': {
43         'command': [
44           '../testing/test_env.py',
45           '<(PRODUCT_DIR)/cc_unittests',
46           '--brave-new-test-launcher',
47           '--test-launcher-bot-mode',
48           '--asan=<(asan)',
49           '--msan=<(msan)',
50           '--tsan=<(tsan)',
51         ],
52         'files': [
53           '<(PRODUCT_DIR)/ffmpegsumo.so',
54           '<(PRODUCT_DIR)/osmesa.so',
55         ],
56       },
57     }],
58     ['OS=="win"', {
59       'variables': {
60         'command': [
61           '../testing/test_env.py',
62           '<(PRODUCT_DIR)/cc_unittests.exe',
63           '--brave-new-test-launcher',
64           '--test-launcher-bot-mode',
65           '--asan=<(asan)',
66           '--msan=<(msan)',
67           '--tsan=<(tsan)',
68         ],
69         'files': [
70           '<(PRODUCT_DIR)/ffmpegsumo.dll',
71           '<(PRODUCT_DIR)/osmesa.dll',
72         ],
73       },
74     }],
75     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
76       'variables': {
77         'files': [
78           '<(PRODUCT_DIR)/cc_unittests.exe.pdb',
79         ],
80       },
81     }],
82     ['OS=="mac" and asan==1 and fastbuild==0', {
83       'variables': {
84         'files': [
85           '<(PRODUCT_DIR)/cc_unittests.dSYM/',
86         ],
87       },
88     }],
89   ],
90   'includes': [
91     '../base/base.isolate',
92   ],