Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / interactive_ui_tests.isolate
blob01c267506f18d0d13f5fae41b08868d6002d539a
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)/libffmpegsumo.so',
39           '<(PRODUCT_DIR)/libosmesa.so',
40           '<(PRODUCT_DIR)/libppapi_tests.so',
41           '<(PRODUCT_DIR)/pyproto/google/',
42         ],
43       },
44     }],
45     ['OS=="linux" or OS=="mac" or OS=="win"', {
46       'variables': {
47         'files': [
48           '../net/data/ssl/certificates/',
49           '../net/tools/testserver/',
50           '../ppapi/tests/test_case.html',
51           '../ppapi/tests/test_page.css',
52           '../testing/test_env.py',
53           '../third_party/pyftpdlib/',
54           '../third_party/pywebsocket/',
55           '../third_party/tlslite/',
56           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
57           '<(PRODUCT_DIR)/resources.pak',
58           '<(PRODUCT_DIR)/ui_test.pak',
59           'test/data/',
60         ],
61         'read_only': 1,
62       },
63     }],
64     ['OS=="linux" or OS=="win"', {
65       'variables': {
66         'files': [
67           '<(PRODUCT_DIR)/chrome_100_percent.pak',
68           '<(PRODUCT_DIR)/locales/en-US.pak',
69           '<(PRODUCT_DIR)/locales/fr.pak',
70         ],
71       },
72     }],
73     ['OS=="mac"', {
74       'variables': {
75         'files': [
76           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
77           '<(PRODUCT_DIR)/<(mac_product_name).app/',
78           '<(PRODUCT_DIR)/ffmpegsumo.so',
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)/ffmpegsumo.so.dSYM/',
90           '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/',
91           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
92           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
93         ],
94       },
95     }],
96     ['OS=="win"', {
97       'variables': {
98         'files': [
99           '<(PRODUCT_DIR)/chrome_elf.dll',
100           '<(PRODUCT_DIR)/d3dcompiler_47.dll',
101           '<(PRODUCT_DIR)/ffmpegsumo.dll',
102           '<(PRODUCT_DIR)/libEGL.dll',
103           '<(PRODUCT_DIR)/libGLESv2.dll',
104           '<(PRODUCT_DIR)/osmesa.dll',
105           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
106           '<(PRODUCT_DIR)/ppapi_tests.dll',
107         ],
108       },
109     }],
110     ['OS=="win" and target_arch=="ia32"', {
111       'variables': {
112         'files': [
113           '<(PRODUCT_DIR)/wow_helper.exe',
114         ],
115       },
116     }],
117     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
118       'variables': {
119         'files': [
120           '<(PRODUCT_DIR)/interactive_ui_tests.exe.pdb',
121         ],
122       },
123     }],
124     ['chromeos==1', {
125       'variables': {
126         'files': [
127           '../google_apis/test/',
128           '<(PRODUCT_DIR)/keyboard_resources.pak',
129           '<(PRODUCT_DIR)/libexif.so',
130           '<(PRODUCT_DIR)/nacl_helper',
131           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
132           '<(PRODUCT_DIR)/resources/chromeos/',
133         ],
134       },
135     }],
136   ],
137   'includes': [
138     '../base/base.isolate',
139     '../gin/v8.isolate',
140   ],