Fix broken path in extensions/common/PRESUBMIT.py
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob146ca41e54995efecb57d1b9d8083d8cdd5188b2
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           '../net/data/',
55           '../third_party/accessibility-audit/axs_testing.js',
56           '../third_party/hunspell_dictionaries/',
57           '../third_party/zlib/google/test/data/',
58           '../tools/metrics/histograms/histograms.xml',
59           '<(PRODUCT_DIR)/resources.pak',
60           'test/data/',
61           'third_party/mock4js/',
62         ],
63       },
64     }],
65     ['OS=="android" or OS=="linux" or OS=="win"', {
66       'variables': {
67         'files': [
68           '<(PRODUCT_DIR)/chrome_100_percent.pak',
69           '<(PRODUCT_DIR)/locales/en-US.pak',
70         ],
71       },
72     }],
73     ['OS=="linux"', {
74       'variables': {
75         'files': [
76           '<(PRODUCT_DIR)/libffmpegsumo.so',
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           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
92         ],
93       },
94     }],
95     ['OS=="linux" or OS=="mac"', {
96       'variables': {
97         'read_only': 1,
98       },
99     }],
100     ['OS=="mac"', {
101       'variables': {
102         'files': [
103           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
104           '<(PRODUCT_DIR)/exif.so',
105           '<(PRODUCT_DIR)/ffmpegsumo.so',
106           '<(PRODUCT_DIR)/osmesa.so',
107         ],
108       },
109     }],
110     ['OS=="mac" and asan==1 and fastbuild==0', {
111       'variables': {
112         'files': [
113           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework.dSYM/',
114           '<(PRODUCT_DIR)/exif.so.dSYM/',
115           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
116           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
117           '<(PRODUCT_DIR)/unit_tests.dSYM/',
118         ],
119       },
120     }],
121     ['OS=="win"', {
122       'variables': {
123         'files': [
124           '../ppapi/lib/gl/include/KHR/',
125           '../skia/ext/data/',
126           '../ui/base/glib/',
127           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
128           '<(PRODUCT_DIR)/chrome_elf.dll',
129           '<(PRODUCT_DIR)/ffmpegsumo.dll',
130           '<(PRODUCT_DIR)/libexif.dll',
131           '<(PRODUCT_DIR)/osmesa.dll',
132           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
133           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
134           'test/data/safe_browsing/signed_binary.dll',
135         ],
136         # Can't be enabled on Windows due to http://crbug.com/342913
137         'read_only': 0,
138       },
139     }],
140     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
141       'variables': {
142         'files': [
143           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
144         ],
145       },
146     }],
147     ['OS=="win" and kasko==1', {
148       'variables': {
149         'files': [
150           '<(PRODUCT_DIR)/kasko.dll',
151         ],
152       },
153     }],
154     ['chromeos==1', {
155       'variables': {
156         'files': [
157           '../chromeos/test/data/network/',
158           '<(PRODUCT_DIR)/libexif.so',
159           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/',
160         ],
161       },
162     }],
163   ],
164   'includes': [
165     '../base/base.isolate',
166     '../gin/v8.isolate',
167     '../third_party/angle/angle.isolate',
168   ],