tools/gn: fix rebase_path example
[chromium-blink-merge.git] / content / content_browsertests.isolate
blobaa24c236eb21514139deb708e672670032599762
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           '<(PRODUCT_DIR)/libppapi_tests.so',
72         ],
73       },
74     }],
75     ['OS=="linux" or OS=="mac" or OS=="win"', {
76       'variables': {
77         'files': [
78           '../net/tools/testserver/',
79           '../ppapi/tests/test_case.html',
80           '../ppapi/tests/test_page.css',
81           '../testing/test_env.py',
82           '../third_party/pyftpdlib/',
83           '../third_party/pywebsocket/',
84           '../third_party/tlslite/',
85           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
86         ],
87       },
88     }],
89     ['OS=="mac"', {
90       'variables': {
91         'files': [
92           '<(PRODUCT_DIR)/Content Shell.app/',
93           '<(PRODUCT_DIR)/ffmpegsumo.so',
94           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
95           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
96           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
97         ],
98       },
99     }],
100     ['OS=="mac" and asan==1 and fastbuild==0', {
101       'variables': {
102         'files': [
103           '<(PRODUCT_DIR)/Content Shell Framework.framework.dSYM/',
104           '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/',
105           '<(PRODUCT_DIR)/Content Shell.app.dSYM/',
106           '<(PRODUCT_DIR)/content_browsertests.dSYM/',
107           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
108           '<(PRODUCT_DIR)/npapi_test_plugin.plugin.dSYM/',
109           '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
110           '<(PRODUCT_DIR)/test_netscape_plugin.plugin.dSYM/',
111         ],
112       },
113     }],
114     ['OS=="win"', {
115       'variables': {
116         'files': [
117           '<(PRODUCT_DIR)/content_shell.pak',
118           '<(PRODUCT_DIR)/ffmpegsumo.dll',
119           '<(PRODUCT_DIR)/osmesa.dll',
120           '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
121           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
122           '<(PRODUCT_DIR)/ppapi_tests.dll',
123         ],
124       },
125     }],
126     ['OS=="win" and target_arch=="ia32"', {
127       'variables': {
128         'files': [
129           '<(PRODUCT_DIR)/wow_helper.exe',
130         ],
131       },
132     }],
133     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
134       'variables': {
135         'files': [
136           '<(PRODUCT_DIR)/content_browsertests.exe.pdb',
137         ],
138       },
139     }],
140   ],
141   'includes': [
142     '../base/base.isolate',
143     '../gin/v8.isolate',
144     '../third_party/angle/angle.isolate',
145   ],