Use MessageLoop for CompositorTest.LocksTimeOut
[chromium-blink-merge.git] / content / content_browsertests.isolate
blob2fcab670f2a8c53c176b10625265208523d39555
1 # Copyright (c) 2013 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)/content_browsertests<(EXECUTABLE_SUFFIX)',
11           '--test-launcher-bot-mode',
12           '--asan=<(asan)',
13           '--msan=<(msan)',
14           '--tsan=<(tsan)',
15         ],
16       },
17     }],
18     ['use_x11==1', {
19       'variables': {
20         'command': [
21           '../testing/xvfb.py',
22           '<(PRODUCT_DIR)',
23           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
24           '--test-launcher-bot-mode',
25           '--asan=<(asan)',
26           '--msan=<(msan)',
27           '--tsan=<(tsan)',
28         ],
29         'files': [
30           '../testing/xvfb.py',
31           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
32         ],
33       },
34     }],
35     ['OS=="android"', {
36       'variables': {
37         'files': [
38           '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
39         ],
40       },
41     }],
42     ['chromeos==1', {
43       'variables': {
44         'files': [
45           '<(PRODUCT_DIR)/content_shell.pak',
46         ],
47       },
48     }],
49     ['OS=="linux" or OS=="mac" or OS=="win"', {
50       'variables': {
51         'files': [
52           '<(PRODUCT_DIR)/content_shell.pak',
53         ],
54       },
55     }],
56     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
57       'variables': {
58         'files': [
59           '../media/test/data/',
60           '../net/data/',
61           'test/data/',
62         ],
63       },
64     }],
65     ['OS=="linux"', {
66       'variables': {
67         'files': [
68           '<(PRODUCT_DIR)/content_shell.pak',
69           '<(PRODUCT_DIR)/libffmpegsumo.so',
70           '<(PRODUCT_DIR)/libosmesa.so',
71         ],
72       },
73     }],
74     ['OS=="linux" and enable_plugins==1', {
75       'variables': {
76         'files': [
77           '<(PRODUCT_DIR)/libppapi_tests.so',
78         ],
79       },
80     }],
81     ['OS=="linux" or OS=="mac" or OS=="win"', {
82       'variables': {
83         'files': [
84           '../net/tools/testserver/',
85           '../ppapi/tests/test_case.html',
86           '../ppapi/tests/test_page.css',
87           '../testing/test_env.py',
88           '../third_party/pyftpdlib/',
89           '../third_party/pywebsocket/',
90           '../third_party/tlslite/',
91           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
92         ],
93       },
94     }],
95     ['OS=="mac"', {
96       'variables': {
97         'files': [
98           '<(PRODUCT_DIR)/Content Shell.app/',
99           '<(PRODUCT_DIR)/ffmpegsumo.so',
100           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
101           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
102           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
103         ],
104       },
105     }],
106     ['OS=="mac" and asan==1 and fastbuild==0', {
107       'variables': {
108         'files': [
109           '<(PRODUCT_DIR)/Content Shell Framework.framework.dSYM/',
110           '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/',
111           '<(PRODUCT_DIR)/Content Shell.app.dSYM/',
112           '<(PRODUCT_DIR)/content_browsertests.dSYM/',
113           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
114           '<(PRODUCT_DIR)/npapi_test_plugin.plugin.dSYM/',
115           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
116           '<(PRODUCT_DIR)/test_netscape_plugin.plugin.dSYM/',
117         ],
118       },
119     }],
120     ['OS=="win"', {
121       'variables': {
122         'files': [
123           '<(PRODUCT_DIR)/content_shell.pak',
124           '<(PRODUCT_DIR)/ffmpegsumo.dll',
125           '<(PRODUCT_DIR)/osmesa.dll',
126           '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
127           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
128           '<(PRODUCT_DIR)/ppapi_tests.dll',
129         ],
130       },
131     }],
132     ['OS=="win" and target_arch=="ia32"', {
133       'variables': {
134         'files': [
135           '<(PRODUCT_DIR)/wow_helper.exe',
136         ],
137       },
138     }],
139     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
140       'variables': {
141         'files': [
142           '<(PRODUCT_DIR)/content_browsertests.exe.pdb',
143         ],
144       },
145     }],
146   ],
147   'includes': [
148     '../base/base.isolate',
149     '../gin/v8.isolate',
150     '../third_party/angle/angle.isolate',
151   ],