GN (Android): Fix packaging excess libs when target_cpu is changed
[chromium-blink-merge.git] / cc / cc_unittests.isolate
blob6576a50fa0ea2e4113407385806fd70f6c2d6d8b
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)/cc_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)/cc_unittests',
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',
34         ],
35       },
36     }],
37     ['OS=="linux" or OS=="mac" or OS=="win"', {
38       'variables': {
39         'files': [
40           'test/data/',
41           '../testing/test_env.py',
42           '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)',
43         ],
44       },
45     }],
46     ['OS=="linux"', {
47       'variables': {
48         'files': [
49           '<(PRODUCT_DIR)/libosmesa.so',
50         ],
51       },
52     }],
53     ['OS=="mac"', {
54       'variables': {
55         'files': [
56           '<(PRODUCT_DIR)/osmesa.so',
57         ],
58       },
59     }],
60     ['OS=="win"', {
61       'variables': {
62         'files': [
63           '<(PRODUCT_DIR)/osmesa.dll',
64         ],
65       },
66     }],
67     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
68       'variables': {
69         'files': [
70           '<(PRODUCT_DIR)/cc_unittests.exe.pdb',
71         ],
72       },
73     }],
74     ['OS=="mac" and asan==1 and fastbuild==0', {
75       'variables': {
76         'files': [
77           '<(PRODUCT_DIR)/cc_unittests.dSYM/',
78         ],
79       },
80     }],
81   ],
82   'includes': [
83     '../base/base.isolate',
84     '../ui/gl/gl.isolate',
85   ],