Clarify and update GN build flags docs.
[chromium-blink-merge.git] / chrome / interactive_ui_tests.isolate
blob084c69ab1a0c4d81e61aba74d08703bc30603f91
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_case.html.mock-http-headers',
52           '../ppapi/tests/test_page.css',
53           '../ppapi/tests/test_page.css.mock-http-headers',
54           '../testing/test_env.py',
55           '../third_party/pyftpdlib/',
56           '../third_party/pywebsocket/',
57           '../third_party/tlslite/',
58           '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
59           '<(PRODUCT_DIR)/resources.pak',
60           '<(PRODUCT_DIR)/ui_test.pak',
61           'test/data/',
62         ],
63         'read_only': 1,
64       },
65     }],
66     ['OS=="linux" or OS=="win"', {
67       'variables': {
68         'files': [
69           '<(PRODUCT_DIR)/chrome_100_percent.pak',
70           '<(PRODUCT_DIR)/locales/en-US.pak',
71           '<(PRODUCT_DIR)/locales/fr.pak',
72         ],
73       },
74     }],
75     ['OS=="mac"', {
76       'variables': {
77         'files': [
78           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
79           '<(PRODUCT_DIR)/<(mac_product_name).app/',
80           '<(PRODUCT_DIR)/ffmpegsumo.so',
81           '<(PRODUCT_DIR)/osmesa.so',
82           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
83         ],
84       },
85     }],
86     ['OS=="mac" and asan==1 and fastbuild==0', {
87       'variables': {
88         'files': [
89           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
90           '<(PRODUCT_DIR)/<(mac_product_name).app.dSYM/',
91           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
92           '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/',
93           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
94           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
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     ['OS=="win" and kasko==1', {
127       'variables': {
128         'files': [
129           '<(PRODUCT_DIR)/kasko.dll',
130         ],
131       },
132     }],
133     ['chromeos==1', {
134       'variables': {
135         'files': [
136           '../google_apis/test/',
137           '<(PRODUCT_DIR)/keyboard_resources.pak',
138           '<(PRODUCT_DIR)/libexif.so',
139           '<(PRODUCT_DIR)/nacl_helper',
140           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
141           '<(PRODUCT_DIR)/resources/chromeos/',
142           'browser/chromeos/login/test/https_forwarder.py',
143         ],
144       },
145     }],
146   ],
147   'includes': [
148     '../base/base.isolate',
149     '../gin/v8.isolate',
150   ],