Update V8 to version 4.7.52.
[chromium-blink-merge.git] / chrome / unit_tests.isolate
bloba3bff8479d5a2600bae5619b69b2615d9db5f41e
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     ['use_x11==0', {
7       'variables': {
8         'command': [
9           '../testing/test_env.py',
10           '<(PRODUCT_DIR)/unit_tests<(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)/unit_tests<(EXECUTABLE_SUFFIX)',
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<(EXECUTABLE_SUFFIX)',
34         ],
35       },
36     }],
37     ['OS=="android" or OS=="linux" or OS=="win" or OS=="mac"', {
38       'variables': {
39         'files': [
40           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/google_now/',
41           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/print_preview/',
42           '<(PRODUCT_DIR)/test_data/chrome/renderer/resources/extensions/',
43           '<(PRODUCT_DIR)/test_data/chrome/test/data/unit/',
44           '<(PRODUCT_DIR)/test_data/ui/webui/',
45         ],
46       },
47     }],
48     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
49       'variables': {
50         'files': [
51           '../base/test/data/',
52           '../components/test/data/',
53           '../extensions/test/data/',
54           '../google_apis/test/data/',
55           '../net/data/',
56           '../third_party/accessibility-audit/axs_testing.js',
57           '../third_party/hunspell_dictionaries/',
58           '../third_party/zlib/google/test/data/',
59           '../tools/metrics/histograms/histograms.xml',
60           '<(PRODUCT_DIR)/resources.pak',
61           'test/data/',
62           'third_party/mock4js/',
63         ],
64       },
65     }],
66     ['OS=="android" or OS=="linux" or OS=="win"', {
67       'variables': {
68         'files': [
69           '<(PRODUCT_DIR)/chrome_100_percent.pak',
70           '<(PRODUCT_DIR)/locales/en-US.pak',
71         ],
72       },
73     }],
74     ['OS=="linux"', {
75       'variables': {
76         'files': [
77           '<(PRODUCT_DIR)/libosmesa.so',
78           '<(PRODUCT_DIR)/locales/fr.pak',
79         ],
80       },
81     }],
82     ['OS=="linux" or OS=="mac" or OS=="win"', {
83       'variables': {
84         'files': [
85           '../net/tools/testserver/',
86           '../testing/test_env.py',
87           '../third_party/pyftpdlib/',
88           '../third_party/pywebsocket/',
89           '../third_party/tlslite/',
90           '<(PRODUCT_DIR)/pyproto/google/',
91         ],
92       },
93     }],
94     ['OS=="linux" or OS=="mac"', {
95       'variables': {
96         'read_only': 1,
97       },
98     }],
99     ['OS=="mac"', {
100       'variables': {
101         'files': [
102           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
103           '<(PRODUCT_DIR)/exif.so',
104           '<(PRODUCT_DIR)/osmesa.so',
105           '<(PRODUCT_DIR)/test_data/chrome/safe_browsing_dmg/',
106         ],
107       },
108     }],
109     ['OS=="mac" and asan==1 and fastbuild==0', {
110       'variables': {
111         'files': [
112           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework.dSYM/',
113           '<(PRODUCT_DIR)/exif.so.dSYM/',
114           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
115           '<(PRODUCT_DIR)/unit_tests.dSYM/',
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)/libexif.dll',
128           '<(PRODUCT_DIR)/osmesa.dll',
129           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
130           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
131           'test/data/safe_browsing/signed_binary.dll',
132         ],
133         # Can't be enabled on Windows due to http://crbug.com/342913
134         'read_only': 0,
135       },
136     }],
137     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
138       'variables': {
139         'files': [
140           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
141         ],
142       },
143     }],
144     ['OS=="win" and kasko==1', {
145       'variables': {
146         'files': [
147           '<(PRODUCT_DIR)/kasko.dll',
148         ],
149       },
150     }],
151     ['chromeos==1', {
152       'variables': {
153         'files': [
154           '../chromeos/test/data/network/',
155           '<(PRODUCT_DIR)/libexif.so',
156           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/',
157         ],
158       },
159     }],
160   ],
161   'includes': [
162     '../base/base.isolate',
163     '../gin/v8.isolate',
164     '../ui/gl/gl.isolate',
165   ],