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