Add device dependency GN's header checker found.
[chromium-blink-merge.git] / gpu / gpu_unittests.isolate
blobe64633cb86a112ea5ec38bd35e085cfa547a4f8f
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           '../testing/test_env.py',
10           '<(PRODUCT_DIR)/gpu_unittests<(EXECUTABLE_SUFFIX)',
11         ],
12       },
13     }],
14     ['OS=="linux"', {
15       'variables': {
16         'command': [
17           '../testing/xvfb.py',
18           '<(PRODUCT_DIR)',
19           '<(PRODUCT_DIR)/gpu_unittests',
20           '--brave-new-test-launcher',
21           '--test-launcher-bot-mode',
22           '--asan=<(asan)',
23           '--lsan=<(lsan)',
24           '--msan=<(msan)',
25           '--tsan=<(tsan)',
26         ],
27         'files': [
28           '../testing/xvfb.py',
29           '<(PRODUCT_DIR)/xdisplaycheck',
30         ],
31       },
32     }],
33     ['OS=="mac"', {
34       'variables': {
35         'command': [
36           '../testing/test_env.py',
37           '<(PRODUCT_DIR)/gpu_unittests',
38           '--brave-new-test-launcher',
39           '--test-launcher-bot-mode',
40           '--asan=<(asan)',
41           '--lsan=<(lsan)',
42           '--msan=<(msan)',
43           '--tsan=<(tsan)',
44         ],
45       },
46     }],
47     ['OS=="win"', {
48       'variables': {
49         'command': [
50           '../testing/test_env.py',
51           '<(PRODUCT_DIR)/gpu_unittests.exe',
52           '--brave-new-test-launcher',
53           '--test-launcher-bot-mode',
54           '--asan=<(asan)',
55           '--lsan=<(lsan)',
56           '--msan=<(msan)',
57           '--tsan=<(tsan)',
58         ],
59       },
60     }],
61     ['OS=="mac" and asan==1 and fastbuild==0', {
62       'variables': {
63         'files': [
64           '<(PRODUCT_DIR)/gpu_unittests.dSYM/',
65         ],
66       },
67     }],
68     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
69       'variables': {
70         'files': [
71           '<(PRODUCT_DIR)/gpu_unittests.exe.pdb',
72         ],
73       },
74     }],
75   ],
76   'includes': [
77     '../base/base.isolate',
78   ],