Componentize component_updater: Copy over test data with executable bit.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blobcbcfacd4e5ed4ea824e72ffe1744f296e253e254
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" or OS=="win"', {
34       'variables': {
35         'isolate_dependency_tracked': [
36           '../media/test/data/',
37           '../ppapi/tests/test_case.html',
38           '../ppapi/tests/test_page.css',
39           '../testing/test_env.py',
40           '../third_party/accessibility-audit/axs_testing.js',
41           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
42           '<(PRODUCT_DIR)/peerconnection_server<(EXECUTABLE_SUFFIX)',
43           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
44           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
45           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
46           '<(PRODUCT_DIR)/test_case.html',
47           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
48           '<(PRODUCT_DIR)/test_page.css',
49           'browser/policy/test/asn1der.py',
50           'browser/policy/test/policy_testserver.py',
51         ],
52         'isolate_dependency_untracked': [
53           '../content/test/data/',
54           '../media/test/data/',
55           '../net/data/',
56           '../net/tools/testserver/',
57           '../third_party/pyftpdlib/',
58           '../third_party/pywebsocket/',
59           '../third_party/safe_browsing/',
60           '../third_party/simplejson/',
61           '../third_party/tlslite/',
62           '<(PRODUCT_DIR)/nacl_test_data/',
63           '<(PRODUCT_DIR)/pnacl/',
64           '<(PRODUCT_DIR)/pseudo_locales/',
65           '<(PRODUCT_DIR)/pyproto/',
66           '<(PRODUCT_DIR)/remoting/unittests/',
67           '<(PRODUCT_DIR)/test_data/',
68           '<(PRODUCT_DIR)/test_url_loader_data/',
69           'common/extensions/docs/examples/apps/calculator/',
70           'test/data/',
71           'third_party/mock4js/',
72         ],
73         'read_only': 1,
74       },
75     }],
76     ['OS=="linux" or OS=="win"', {
77       'variables': {
78         'isolate_dependency_tracked': [
79           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
80           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
81           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
82           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
83         ],
84         'isolate_dependency_untracked': [
85           '../third_party/bidichecker/',
86           '<(PRODUCT_DIR)/lib64/',
87         ],
88       },
89     }],
90     ['OS=="mac"', {
91       'variables': {
92         'isolate_dependency_tracked': [
93           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
94           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
95           '<(PRODUCT_DIR)/osmesa.so',
96           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
97           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
98           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
99           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
100         ],
101         'isolate_dependency_untracked': [
102           '<(PRODUCT_DIR)/lib32/',
103           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
104           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
105         ],
106       },
107     }],
108     ['OS=="mac" or OS=="win"', {
109       'variables': {
110         'command': [
111           '../testing/test_env.py',
112           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
113           '--test-launcher-bot-mode',
114         ],
115       },
116     }],
117     ['OS=="win"', {
118       'variables': {
119         'isolate_dependency_tracked': [
120           '../native_client/build/build_nexe.py',
121           '<(PRODUCT_DIR)/chrome_elf.dll',
122           '<(PRODUCT_DIR)/clearkeycdm.dll',
123           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
124           '<(PRODUCT_DIR)/ppapi_tests.dll',
125           'tools/build/repack_locales.py',
126         ],
127         'isolate_dependency_untracked': [
128           '<(PRODUCT_DIR)/browser_tests.exe.pdb',
129           '<(PRODUCT_DIR)/plugins/',
130         ],
131       },
132     }],
133     ['OS=="win" and libpeer_target_type=="loadable_module"', {
134       'variables': {
135         'isolate_dependency_tracked': [
136           '<(PRODUCT_DIR)/libpeerconnection.dll',
137         ],
138       },
139     }],
140     ['chromeos==1', {
141       'variables': {
142         'isolate_dependency_tracked': [
143           '<(PRODUCT_DIR)/keyboard_resources.pak',
144           '<(PRODUCT_DIR)/libexif.so',
145           '<(PRODUCT_DIR)/nacl_helper',
146           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
147           'browser/chromeos/login/test/https_forwarder.py',
148         ],
149         'isolate_dependency_untracked': [
150           '../chromeos/test/data/',
151           '../google_apis/test/',
152           '../ui/file_manager/file_manager/',
153           '../ui/webui/resources/js/',
154           '<(PRODUCT_DIR)/chromevox_test_data/',
155           '<(PRODUCT_DIR)/locales/',
156           '<(PRODUCT_DIR)/resources/chromeos/',
157         ],
158       },
159     }],
160   ],