Document that chrome.accessibilityFeatures only works on ChromeOS
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob6ebc9e65cb45c9951466c0779ca78fbaff5a65cf
1 # Copyright (c) 2012 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=="android" or OS=="linux"', {
7       'variables': {
8         'files': [
9           '<(PRODUCT_DIR)/test_data/',
10         ],
11       },
12     }],
13     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
14       'variables': {
15         'files': [
16           '../base/test/data/',
17           '../components/test/data/',
18           '../extensions/test/data/',
19           '../net/data/',
20           '../third_party/accessibility-audit/axs_testing.js',
21           '../third_party/hunspell_dictionaries/',
22           '../third_party/zlib/google/test/data/',
23           '../tools/metrics/histograms/histograms.xml',
24           '<(PRODUCT_DIR)/resources.pak',
25           'test/data/',
26           'third_party/mock4js/',
27         ],
28       },
29     }],
30     ['OS=="android" or OS=="linux" or OS=="win"', {
31       'variables': {
32         'files': [
33           '<(PRODUCT_DIR)/chrome_100_percent.pak',
34           '<(PRODUCT_DIR)/locales/en-US.pak',
35         ],
36       },
37     }],
38     ['OS=="linux"', {
39       'variables': {
40         'command': [
41           '../testing/xvfb.py',
42           '<(PRODUCT_DIR)',
43           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
44           '--brave-new-test-launcher',
45           '--test-launcher-bot-mode',
46         ],
47         'files': [
48           '../testing/xvfb.py',
49           '<(PRODUCT_DIR)/libffmpegsumo.so',
50           '<(PRODUCT_DIR)/libosmesa.so',
51           '<(PRODUCT_DIR)/locales/fr.pak',
52         ],
53       },
54     }],
55     ['OS=="linux" and use_ozone==0', {
56       'variables': {
57         'files': [
58           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
59         ],
60       },
61     }],
62     ['OS=="linux" or OS=="mac" or OS=="win"', {
63       'variables': {
64         'files': [
65           '../net/tools/testserver/',
66           '../testing/test_env.py',
67           '../third_party/pyftpdlib/',
68           '../third_party/pywebsocket/',
69           '../third_party/tlslite/',
70           '<(PRODUCT_DIR)/pyproto/',
71           '<(PRODUCT_DIR)/test_data/',
72           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
73         ],
74       },
75     }],
76     ['OS=="linux" or OS=="mac"', {
77       'variables': {
78         'read_only': 1,
79       },
80     }],
81     ['OS=="mac"', {
82       'variables': {
83         'files': [
84           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
85           '<(PRODUCT_DIR)/exif.so',
86           '<(PRODUCT_DIR)/ffmpegsumo.so',
87           '<(PRODUCT_DIR)/osmesa.so',
88         ],
89       },
90     }],
91     ['OS=="mac" or OS=="win"', {
92       'variables': {
93         'command': [
94           '../testing/test_env.py',
95           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
96           '--brave-new-test-launcher',
97           '--test-launcher-bot-mode',
98         ],
99       },
100     }],
101     ['OS=="win"', {
102       'variables': {
103         'files': [
104           '../ppapi/lib/gl/include/KHR/',
105           '../skia/ext/data/',
106           '../ui/base/glib/',
107           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
108           '<(PRODUCT_DIR)/chrome_elf.dll',
109           '<(PRODUCT_DIR)/ffmpegsumo.dll',
110           '<(PRODUCT_DIR)/libexif.dll',
111           '<(PRODUCT_DIR)/osmesa.dll',
112           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
113           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
114           'test/data/safe_browsing/signed_binary.dll',
115         ],
116         # Can't be enabled on Windows due to http://crbug.com/342913
117         'read_only': 0,
118       },
119     }],
120     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
121       'variables': {
122         'files': [
123           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
124         ],
125       },
126     }],
127     ['chromeos==1', {
128       'variables': {
129         'files': [
130           '../chromeos/test/data/network/',
131           '<(PRODUCT_DIR)/libexif.so',
132         ],
133       },
134     }],
135   ],
136   'includes': [
137     '../base/base.isolate',
138   ],