Enable TranslateBrowserTest.TranslateInIsolatedWorld again
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blobb851845cdb3984f8a6d9e2e07059d670fabe18c6
1 # Copyright (c) 2012 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   'includes': [
6     'chrome.isolate',
7   ],
8   'conditions': [
9     ['OS=="linux"', {
10       'variables': {
11         'command': [
12           '../testing/xvfb.py',
13           '<(PRODUCT_DIR)',
14           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
15           '--test-launcher-bot-mode',
16         ],
17         'isolate_dependency_tracked': [
18           '../testing/xvfb.py',
19           '<(PRODUCT_DIR)/libclearkeycdm.so',
20           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
21           '<(PRODUCT_DIR)/libppapi_tests.so',
22           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
23         ],
24       },
25     }],
26     ['OS=="linux" and libpeer_target_type=="loadable_module"', {
27       'variables': {
28         'isolate_dependency_tracked': [
29           '<(PRODUCT_DIR)/lib/libpeerconnection.so',
30         ],
31       },
32     }],
33     ['OS=="linux" or OS=="mac"', {
34       'variables': {
35         'isolate_dependency_tracked': [
36           'browser/nacl_host/test/debug_stub_browser_tests.py',
37           'browser/nacl_host/test/gdb_rsp.py',
38         ],
39       },
40     }],
41     ['OS=="linux" or OS=="mac" or OS=="win"', {
42       'variables': {
43         'isolate_dependency_tracked': [
44           '../media/test/data/90rotation.mp4',
45           '../media/test/data/bear-320x240-multitrack.webm',
46           '../media/test/data/id3_png_test.mp3',
47           '../media/test/data/no_streams.webm',
48           '../media/test/data/sfx.ogg',
49           '../ppapi/tests/test_case.html',
50           '../ppapi/tests/test_page.css',
51           '../testing/test_env.py',
52           '../third_party/accessibility-audit/axs_testing.js',
53           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
54           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
55           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
56           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
57           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
58           '<(PRODUCT_DIR)/test_case.html',
59           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
60           '<(PRODUCT_DIR)/test_page.css',
61           'browser/policy/test/asn1der.py',
62           'browser/policy/test/policy_testserver.py',
63           'browser/safe_browsing/safe_browsing_testserver.py',
64           'common/extensions/docs/examples/apps/calculator/app/controller.js',
65           'common/extensions/docs/examples/apps/calculator/app/model.js',
66           'common/extensions/docs/examples/apps/calculator/app/view.js',
67         ],
68         'isolate_dependency_untracked': [
69           '../content/test/data/',
70           '../net/data/',
71           '../net/tools/testserver/',
72           '../third_party/WebKit/Tools/Scripts/',
73           '../third_party/pyftpdlib/',
74           '../third_party/pywebsocket/',
75           '../third_party/safe_browsing/',
76           '../third_party/simplejson/',
77           '../third_party/tlslite/',
78           '<(PRODUCT_DIR)/nacl_test_data/',
79           '<(PRODUCT_DIR)/pnacl/',
80           '<(PRODUCT_DIR)/pseudo_locales/',
81           '<(PRODUCT_DIR)/pyproto/',
82           '<(PRODUCT_DIR)/test_data/chrome/',
83           '<(PRODUCT_DIR)/test_data/ppapi/',
84           '<(PRODUCT_DIR)/test_url_loader_data/',
85           'common/extensions/docs/examples/apps/calculator/tests/',
86           'test/data/',
87           'third_party/mock4js/',
88         ],
89         'read_only': 1,
90       },
91     }],
92     ['OS=="linux" or OS=="win"', {
93       'variables': {
94         'isolate_dependency_tracked': [
95           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
96           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
97           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
98           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
99         ],
100         'isolate_dependency_untracked': [
101           '../third_party/bidichecker/',
102           '<(PRODUCT_DIR)/lib64/',
103           '<(PRODUCT_DIR)/plugins/',
104         ],
105       },
106     }],
107     ['OS=="mac"', {
108       'variables': {
109         'isolate_dependency_tracked': [
110           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
111           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
112           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
113           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
114           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
115           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
116         ],
117         'isolate_dependency_untracked': [
118           '<(PRODUCT_DIR)/lib32/',
119           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
120           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
121         ],
122       },
123     }],
124     ['OS=="mac" or OS=="win"', {
125       'variables': {
126         'command': [
127           '../testing/test_env.py',
128           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
129           '--test-launcher-bot-mode',
130         ],
131       },
132     }],
133     ['OS=="win"', {
134       'variables': {
135         'isolate_dependency_tracked': [
136           '../native_client/build/build_nexe.py',
137           '<(PRODUCT_DIR)/chrome_elf.dll',
138           '<(PRODUCT_DIR)/clearkeycdm.dll',
139           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
140           '<(PRODUCT_DIR)/ppapi_tests.dll',
141           '<(PRODUCT_DIR)/security_tests.dll',
142           'tools/build/repack_locales.py',
143         ],
144         'isolate_dependency_untracked': [
145           '../third_party/npapi/npspy/extern/plugin/',
146           '../third_party/psyco_win32/psyco/',
147         ],
148       },
149     }],
150     ['OS=="win" and libpeer_target_type=="loadable_module"', {
151       'variables': {
152         'isolate_dependency_tracked': [
153           '<(PRODUCT_DIR)/libpeerconnection.dll',
154         ],
155       },
156     }],
157     ['chromeos==1', {
158       'variables': {
159         'isolate_dependency_untracked': [
160           '<(PRODUCT_DIR)/chromevox_test_data/',
161         ],
162       },
163     }],
164   ],