view-manager: Create the root-view only when the viewport-metrics are known.
[chromium-blink-merge.git] / chrome / interactive_ui_tests.isolate
blob1a5c74bf0e13f1c04ac22f29c4a259424fb8d70c
1 # Copyright 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)/interactive_ui_tests<(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)/interactive_ui_tests<(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=="linux"', {
36       'variables': {
37         'files': [
38           '<(PRODUCT_DIR)/libosmesa.so',
39           '<(PRODUCT_DIR)/libppapi_tests.so',
40           '<(PRODUCT_DIR)/pyproto/google/',
41         ],
42       },
43     }],
44     ['OS=="linux" or OS=="mac" or OS=="win"', {
45       'variables': {
46         'files': [
47           '../net/data/ssl/certificates/',
48           '../net/tools/testserver/',
49           '../ppapi/tests/test_case.html',
50           '../ppapi/tests/test_case.html.mock-http-headers',
51           '../ppapi/tests/test_page.css',
52           '../ppapi/tests/test_page.css.mock-http-headers',
53           '../testing/test_env.py',
54           '../third_party/pyftpdlib/',
55           '../third_party/pywebsocket/',
56           '../third_party/tlslite/',
57           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
58           '<(PRODUCT_DIR)/resources.pak',
59           '<(PRODUCT_DIR)/ui_test.pak',
60           'test/data/',
61         ],
62         'read_only': 1,
63       },
64     }],
65     ['OS=="linux" or OS=="win"', {
66       'variables': {
67         'files': [
68           '<(PRODUCT_DIR)/chrome_100_percent.pak',
69           '<(PRODUCT_DIR)/locales/en-US.pak',
70           '<(PRODUCT_DIR)/locales/fr.pak',
71         ],
72       },
73     }],
74     ['OS=="mac"', {
75       'variables': {
76         'files': [
77           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
78           '<(PRODUCT_DIR)/<(mac_product_name).app/',
79           '<(PRODUCT_DIR)/osmesa.so',
80           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
81         ],
82       },
83     }],
84     ['OS=="mac" and asan==1 and fastbuild==0', {
85       'variables': {
86         'files': [
87           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
88           '<(PRODUCT_DIR)/<(mac_product_name).app.dSYM/',
89           '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/',
90           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
91           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
92         ],
93       },
94     }],
95     ['OS=="win"', {
96       'variables': {
97         'files': [
98           '<(PRODUCT_DIR)/chrome_elf.dll',
99           '<(PRODUCT_DIR)/d3dcompiler_47.dll',
100           '<(PRODUCT_DIR)/libEGL.dll',
101           '<(PRODUCT_DIR)/libGLESv2.dll',
102           '<(PRODUCT_DIR)/osmesa.dll',
103           '<(PRODUCT_DIR)/ppapi_tests.dll',
104         ],
105       },
106     }],
107     ['OS=="win" and target_arch=="ia32"', {
108       'variables': {
109         'files': [
110           '<(PRODUCT_DIR)/wow_helper.exe',
111         ],
112       },
113     }],
114     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
115       'variables': {
116         'files': [
117           '<(PRODUCT_DIR)/interactive_ui_tests.exe.pdb',
118         ],
119       },
120     }],
121     ['OS=="win" and kasko==1', {
122       'variables': {
123         'files': [
124           '<(PRODUCT_DIR)/kasko.dll',
125         ],
126       },
127     }],
128     ['chromeos==1', {
129       'variables': {
130         'files': [
131           '../google_apis/test/',
132           '<(PRODUCT_DIR)/keyboard_resources.pak',
133           '<(PRODUCT_DIR)/libexif.so',
134           '<(PRODUCT_DIR)/nacl_helper',
135           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
136           '<(PRODUCT_DIR)/resources/chromeos/',
137           'browser/chromeos/login/test/https_forwarder.py',
138         ],
139       },
140     }],
141   ],
142   'includes': [
143     '../base/base.isolate',
144     '../gin/v8.isolate',
145   ],