[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob8c17738224e32eda36686c751196a616a34ab5cc
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)/libosmesa.so',
77           '<(PRODUCT_DIR)/locales/fr.pak',
78         ],
79       },
80     }],
81     ['OS=="linux" or OS=="mac" or OS=="win"', {
82       'variables': {
83         'files': [
84           '../net/tools/testserver/',
85           '../testing/test_env.py',
86           '../third_party/pyftpdlib/',
87           '../third_party/pywebsocket/',
88           '../third_party/tlslite/',
89           '<(PRODUCT_DIR)/pyproto/google/',
90           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
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         ],
106       },
107     }],
108     ['OS=="mac" and asan==1 and fastbuild==0', {
109       'variables': {
110         'files': [
111           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework.dSYM/',
112           '<(PRODUCT_DIR)/exif.so.dSYM/',
113           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
114           '<(PRODUCT_DIR)/unit_tests.dSYM/',
115         ],
116       },
117     }],
118     ['OS=="win"', {
119       'variables': {
120         'files': [
121           '../ppapi/lib/gl/include/KHR/',
122           '../skia/ext/data/',
123           '../ui/base/glib/',
124           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
125           '<(PRODUCT_DIR)/chrome_elf.dll',
126           '<(PRODUCT_DIR)/libexif.dll',
127           '<(PRODUCT_DIR)/osmesa.dll',
128           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
129           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
130           'test/data/safe_browsing/signed_binary.dll',
131         ],
132         # Can't be enabled on Windows due to http://crbug.com/342913
133         'read_only': 0,
134       },
135     }],
136     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
137       'variables': {
138         'files': [
139           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
140         ],
141       },
142     }],
143     ['OS=="win" and kasko==1', {
144       'variables': {
145         'files': [
146           '<(PRODUCT_DIR)/kasko.dll',
147         ],
148       },
149     }],
150     ['chromeos==1', {
151       'variables': {
152         'files': [
153           '../chromeos/test/data/network/',
154           '<(PRODUCT_DIR)/libexif.so',
155           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/',
156         ],
157       },
158     }],
159   ],
160   'includes': [
161     '../base/base.isolate',
162     '../gin/v8.isolate',
163     '../third_party/angle/angle.isolate',
164   ],