Plumbs URLRequestContext and CacheBlobStorageContext down to cache.
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob1bf91cd6c49932fcdddc8224707866be891edbb2
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   'conditions': [
6     ['OS=="android" or OS=="linux"', {
7       'variables': {
8         'isolate_dependency_untracked': [
9           '<(PRODUCT_DIR)/test_data/',
10         ],
11       },
12     }],
13     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
14       'variables': {
15         'isolate_dependency_tracked': [
16           '../third_party/accessibility-audit/axs_testing.js',
17           '<(PRODUCT_DIR)/resources.pak',
18         ],
19         'isolate_dependency_untracked': [
20           '../base/test/data/',
21           '../components/test/data/',
22           '../extensions/test/data/',
23           '../net/data/',
24           '../third_party/hunspell_dictionaries/',
25           '../third_party/zlib/google/test/data/',
26           'test/data/',
27           'third_party/mock4js/',
28         ],
29       },
30     }],
31     ['OS=="android" or OS=="linux" or OS=="win"', {
32       'variables': {
33         'isolate_dependency_tracked': [
34           '<(PRODUCT_DIR)/chrome_100_percent.pak',
35           '<(PRODUCT_DIR)/locales/en-US.pak',
36         ],
37       },
38     }],
39     ['OS=="linux"', {
40       'variables': {
41         'command': [
42           '../testing/xvfb.py',
43           '<(PRODUCT_DIR)',
44           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
45           '--brave-new-test-launcher',
46           '--test-launcher-bot-mode',
47         ],
48         'isolate_dependency_tracked': [
49           '../testing/xvfb.py',
50           '<(PRODUCT_DIR)/libffmpegsumo.so',
51           '<(PRODUCT_DIR)/libosmesa.so',
52           '<(PRODUCT_DIR)/locales/fr.pak',
53           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
54         ],
55       },
56     }],
57     ['OS=="linux" or OS=="mac" or OS=="win"', {
58       'variables': {
59         'isolate_dependency_tracked': [
60           '../testing/test_env.py',
61           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
62         ],
63         'isolate_dependency_untracked': [
64           '../net/tools/testserver/',
65           '../third_party/pyftpdlib/',
66           '../third_party/pywebsocket/',
67           '../third_party/tlslite/',
68           '<(PRODUCT_DIR)/pyproto/',
69           '<(PRODUCT_DIR)/test_data/',
70         ],
71       },
72     }],
73     ['OS=="linux" or OS=="mac"', {
74       'variables': {
75         # Can't be enabled on Windows due to http://crbug.com/342913
76         'read_only': 1,
77       },
78     }],
79     ['OS=="mac"', {
80       'variables': {
81         'isolate_dependency_tracked': [
82           '<(PRODUCT_DIR)/exif.so',
83           '<(PRODUCT_DIR)/ffmpegsumo.so',
84           '<(PRODUCT_DIR)/osmesa.so',
85         ],
86         'isolate_dependency_untracked': [
87           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
88         ],
89       },
90     }],
91     ['OS=="mac" or OS=="win"', {
92       'variables': {
93         'command': [
94           '../testing/test_env.py',
95           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
96           '--brave-new-test-launcher',
97           '--test-launcher-bot-mode',
98         ],
99       },
100     }],
101     ['OS=="win"', {
102       'variables': {
103         'isolate_dependency_tracked': [
104           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
105           '<(PRODUCT_DIR)/chrome_elf.dll',
106           '<(PRODUCT_DIR)/ffmpegsumo.dll',
107           '<(PRODUCT_DIR)/libexif.dll',
108           '<(PRODUCT_DIR)/osmesa.dll',
109           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
110           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
111         ],
112         'isolate_dependency_untracked': [
113           '../ppapi/lib/gl/include/KHR/',
114           '../skia/ext/data/',
115           '../ui/base/glib/',
116         ],
117       },
118     }],
119     ['chromeos==1', {
120       'variables': {
121         'isolate_dependency_tracked': [
122           '<(PRODUCT_DIR)/libexif.so',
123         ],
124         'isolate_dependency_untracked': [
125           '../chromeos/test/data/network/',
126         ],
127       },
128     }],
129   ],
130   'includes': [
131     '../base/base.isolate',
132   ],