Reporting a policy error after detecting mistyped policies.
[chromium-blink-merge.git] / chrome / interactive_ui_tests.isolate
blob2ccf13741da87bf8c30af77cff61d8a15cacf4ba
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     ['OS=="linux"', {
7       'variables': {
8         'command': [
9           '../testing/xvfb.py',
10           '<(PRODUCT_DIR)',
11           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
12           '--test-launcher-bot-mode',
13           '--asan=<(asan)',
14           '--lsan=<(lsan)',
15           '--msan=<(msan)',
16           '--tsan=<(tsan)',
17         ],
18         'files': [
19           '../testing/xvfb.py',
20           '<(PRODUCT_DIR)/libffmpegsumo.so',
21           '<(PRODUCT_DIR)/libosmesa.so',
22           '<(PRODUCT_DIR)/libppapi_tests.so',
23           '<(PRODUCT_DIR)/pyproto/google/',
24         ],
25       },
26     }],
27     ['OS=="linux" and use_ozone==0', {
28       'variables': {
29         'files': [
30           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
31         ],
32       },
33     }],
34     ['OS=="linux" or OS=="mac" or OS=="win"', {
35       'variables': {
36         'files': [
37           '../net/data/ssl/certificates/',
38           '../net/tools/testserver/',
39           '../ppapi/tests/test_case.html',
40           '../ppapi/tests/test_page.css',
41           '../testing/test_env.py',
42           '../third_party/pyftpdlib/',
43           '../third_party/pywebsocket/',
44           '../third_party/tlslite/',
45           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
46           '<(PRODUCT_DIR)/resources.pak',
47           'test/data/',
48         ],
49         'read_only': 1,
50       },
51     }],
52     ['OS=="linux" or OS=="win"', {
53       'variables': {
54         'files': [
55           '<(PRODUCT_DIR)/chrome_100_percent.pak',
56           '<(PRODUCT_DIR)/locales/en-US.pak',
57           '<(PRODUCT_DIR)/locales/fr.pak',
58           '<(PRODUCT_DIR)/ui_test.pak',
59         ],
60       },
61     }],
62     ['OS=="mac"', {
63       'variables': {
64         'files': [
65           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
66           '<(PRODUCT_DIR)/<(mac_product_name).app/',
67           '<(PRODUCT_DIR)/ffmpegsumo.so',
68           '<(PRODUCT_DIR)/osmesa.so',
69           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
70         ],
71       },
72     }],
73     ['OS=="mac" and asan==1 and fastbuild==0', {
74       'variables': {
75         'files': [
76           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
77           '<(PRODUCT_DIR)/<(mac_product_name).app.dSYM/',
78           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
79           '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/',
80           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
81           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
82         ],
83       },
84     }],
85     ['OS=="mac" or OS=="win"', {
86       'variables': {
87         'command': [
88           '../testing/test_env.py',
89           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
90           '--test-launcher-bot-mode',
91           '--asan=<(asan)',
92           '--lsan=<(lsan)',
93           '--msan=<(msan)',
94           '--tsan=<(tsan)',
95         ],
96       },
97     }],
98     ['OS=="win"', {
99       'variables': {
100         'files': [
101           '<(PRODUCT_DIR)/chrome_elf.dll',
102           '<(PRODUCT_DIR)/d3dcompiler_47.dll',
103           '<(PRODUCT_DIR)/ffmpegsumo.dll',
104           '<(PRODUCT_DIR)/libEGL.dll',
105           '<(PRODUCT_DIR)/libGLESv2.dll',
106           '<(PRODUCT_DIR)/osmesa.dll',
107           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
108           '<(PRODUCT_DIR)/ppapi_tests.dll',
109         ],
110       },
111     }],
112     ['OS=="win" and target_arch=="ia32"', {
113       'variables': {
114         'files': [
115           '<(PRODUCT_DIR)/wow_helper.exe',
116         ],
117       },
118     }],
119     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
120       'variables': {
121         'files': [
122           '<(PRODUCT_DIR)/interactive_ui_tests.exe.pdb',
123         ],
124       },
125     }],
126     ['chromeos==1', {
127       'variables': {
128         'files': [
129           '../google_apis/test/',
130           '<(PRODUCT_DIR)/keyboard_resources.pak',
131           '<(PRODUCT_DIR)/libexif.so',
132           '<(PRODUCT_DIR)/nacl_helper',
133           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
134           '<(PRODUCT_DIR)/resources/chromeos/',
135         ],
136       },
137     }],
138   ],
139   'includes': [
140     '../base/base.isolate',
141     '../gin/v8.isolate',
142   ],