Version 7 golden file for safe-browsing test.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob6387da409b76abb500609f1611f3b3a1eb2912c5
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           '../tools/swarming_client/',
79           '<(PRODUCT_DIR)/nacl_test_data/',
80           '<(PRODUCT_DIR)/pnacl/',
81           '<(PRODUCT_DIR)/pseudo_locales/',
82           '<(PRODUCT_DIR)/pyproto/',
83           '<(PRODUCT_DIR)/test_data/chrome/',
84           '<(PRODUCT_DIR)/test_data/ppapi/',
85           '<(PRODUCT_DIR)/test_url_loader_data/',
86           'common/extensions/docs/examples/apps/calculator/tests/',
87           'test/data/',
88           'third_party/mock4js/',
89         ],
90         'read_only': 1,
91       },
92     }],
93     ['OS=="linux" or OS=="win"', {
94       'variables': {
95         'isolate_dependency_tracked': [
96           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
97           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
98           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
99           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
100         ],
101         'isolate_dependency_untracked': [
102           '../third_party/bidichecker/',
103           '<(PRODUCT_DIR)/lib64/',
104           '<(PRODUCT_DIR)/plugins/',
105         ],
106       },
107     }],
108     ['OS=="mac"', {
109       'variables': {
110         'isolate_dependency_tracked': [
111           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
112           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
113           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
114           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
115           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
116           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
117         ],
118         'isolate_dependency_untracked': [
119           '<(PRODUCT_DIR)/lib32/',
120           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
121           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
122         ],
123       },
124     }],
125     ['OS=="mac" or OS=="win"', {
126       'variables': {
127         'command': [
128           '../testing/test_env.py',
129           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
130           '--test-launcher-bot-mode',
131         ],
132       },
133     }],
134     ['OS=="win"', {
135       'variables': {
136         'isolate_dependency_tracked': [
137           '../native_client/build/build_nexe.py',
138           '<(PRODUCT_DIR)/chrome_elf.dll',
139           '<(PRODUCT_DIR)/clearkeycdm.dll',
140           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
141           '<(PRODUCT_DIR)/mojo_system.dll',
142           '<(PRODUCT_DIR)/ppapi_tests.dll',
143           '<(PRODUCT_DIR)/security_tests.dll',
144           'tools/build/repack_locales.py',
145         ],
146         'isolate_dependency_untracked': [
147           '../third_party/npapi/npspy/extern/plugin/',
148           '../third_party/psyco_win32/psyco/',
149         ],
150       },
151     }],
152     ['OS=="win" and libpeer_target_type=="loadable_module"', {
153       'variables': {
154         'isolate_dependency_tracked': [
155           '<(PRODUCT_DIR)/libpeerconnection.dll',
156         ],
157       },
158     }],
159     ['chromeos==1', {
160       'variables': {
161         'isolate_dependency_untracked': [
162           '<(PRODUCT_DIR)/chromevox_test_data/',
163         ],
164       },
165     }],
166   ],