Change mojo demo apps to use Application.
[chromium-blink-merge.git] / chrome / browser_tests.isolate
blob55aadf42f032cef7db7853b1c6d0e094f6b0d278
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/bear-320x240-multitrack.webm',
45           '../media/test/data/no_streams.webm',
46           '../media/test/data/sfx.ogg',
47           '../ppapi/tests/test_case.html',
48           '../ppapi/tests/test_page.css',
49           '../testing/test_env.py',
50           '../third_party/accessibility-audit/axs_testing.js',
51           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
52           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
53           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
54           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
55           '<(PRODUCT_DIR)/test_case.html',
56           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
57           '<(PRODUCT_DIR)/test_page.css',
58           'browser/policy/test/asn1der.py',
59           'browser/policy/test/policy_testserver.py',
60           'browser/safe_browsing/safe_browsing_testserver.py',
61           'common/extensions/docs/examples/apps/calculator/app/controller.js',
62           'common/extensions/docs/examples/apps/calculator/app/model.js',
63           'common/extensions/docs/examples/apps/calculator/app/view.js',
64         ],
65         'isolate_dependency_untracked': [
66           '../content/test/data/',
67           '../net/data/',
68           '../net/tools/testserver/',
69           '../third_party/WebKit/Tools/Scripts/',
70           '../third_party/pyftpdlib/',
71           '../third_party/pywebsocket/',
72           '../third_party/safe_browsing/',
73           '../third_party/simplejson/',
74           '../third_party/tlslite/',
75           '../tools/swarming_client/',
76           '<(PRODUCT_DIR)/nacl_test_data/',
77           '<(PRODUCT_DIR)/pnacl/',
78           '<(PRODUCT_DIR)/pseudo_locales/',
79           '<(PRODUCT_DIR)/pyproto/',
80           '<(PRODUCT_DIR)/test_data/chrome/',
81           '<(PRODUCT_DIR)/test_data/ppapi/',
82           '<(PRODUCT_DIR)/test_url_loader_data/',
83           'common/extensions/docs/examples/apps/calculator/tests/',
84           'test/data/',
85           'third_party/mock4js/',
86         ],
87         'read_only': 1,
88       },
89     }],
90     ['OS=="linux" or OS=="win"', {
91       'variables': {
92         'isolate_dependency_tracked': [
93           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
94           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
95           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
96           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
97         ],
98         'isolate_dependency_untracked': [
99           '../third_party/bidichecker/',
100           '<(PRODUCT_DIR)/lib64/',
101           '<(PRODUCT_DIR)/plugins/',
102         ],
103       },
104     }],
105     ['OS=="mac"', {
106       'variables': {
107         'isolate_dependency_tracked': [
108           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
109           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
110           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
111           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
112           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
113           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
114         ],
115         'isolate_dependency_untracked': [
116           '<(PRODUCT_DIR)/lib32/',
117           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
118           '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
119         ],
120       },
121     }],
122     ['OS=="mac" or OS=="win"', {
123       'variables': {
124         'command': [
125           '../testing/test_env.py',
126           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
127           '--test-launcher-bot-mode',
128         ],
129       },
130     }],
131     ['OS=="win"', {
132       'variables': {
133         'isolate_dependency_tracked': [
134           '../native_client/build/build_nexe.py',
135           '<(PRODUCT_DIR)/clearkeycdm.dll',
136           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
137           '<(PRODUCT_DIR)/ppapi_tests.dll',
138           '<(PRODUCT_DIR)/security_tests.dll',
139           'tools/build/repack_locales.py',
140         ],
141         'isolate_dependency_untracked': [
142           '../third_party/npapi/npspy/extern/plugin/',
143           '../third_party/psyco_win32/psyco/',
144         ],
145       },
146     }],
147     ['OS=="win" and libpeer_target_type=="loadable_module"', {
148       'variables': {
149         'isolate_dependency_tracked': [
150           '<(PRODUCT_DIR)/libpeerconnection.dll',
151         ],
152       },
153     }],
154     ['chromeos==1', {
155       'variables': {
156         'isolate_dependency_untracked': [
157           '<(PRODUCT_DIR)/chromevox_test_data/',
158         ],
159       },
160     }],
161   ],