blob: 3380606ccdf2b81e3ee94240632edfeab37782dd [file] [log] [blame]
jam91ddf63b2015-01-20 16:36:551# 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.
4{
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 ],
25 'files': [
26 '../testing/xvfb.py',
27 '<(PRODUCT_DIR)/xdisplaycheck',
28 ],
29 },
30 }],
31 ['OS=="mac"', {
32 'variables': {
33 'command': [
34 '../testing/test_env.py',
35 '<(PRODUCT_DIR)/gpu_unittests',
36 '--brave-new-test-launcher',
37 '--test-launcher-bot-mode',
38 '--asan=<(asan)',
39 '--lsan=<(lsan)',
40 ],
41 },
42 }],
43 ['OS=="win"', {
44 'variables': {
45 'command': [
46 '../testing/test_env.py',
47 '<(PRODUCT_DIR)/gpu_unittests.exe',
48 '--brave-new-test-launcher',
49 '--test-launcher-bot-mode',
50 '--asan=<(asan)',
51 '--lsan=<(lsan)',
52 ],
53 },
54 }],
55 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
56 'variables': {
57 'files': [
58 '<(PRODUCT_DIR)/gpu_unittests.exe.pdb',
59 ],
60 },
61 }],
62 ],
63 'includes': [
64 '../base/base.isolate',
65 ],
66}