cc: Use explicit SequencedTaskRunner current loop in TileManager
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blobf35ecc87cfb866616fcfd08f73f6b7ae25f2dddd
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         'isolate_dependency_touched': [
56           '<(PRODUCT_DIR)/libppGoogleNaClPluginChrome.so',
57         ],
58       },
59     }],
60     ['OS=="linux" or OS=="mac" or OS=="win"', {
61       'variables': {
62         'isolate_dependency_tracked': [
63           '../testing/test_env.py',
64           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
65           'browser/safe_browsing/two_phase_testserver.py',
66         ],
67         'isolate_dependency_untracked': [
68           '../net/tools/testserver/',
69           '../third_party/pyftpdlib/',
70           '../third_party/pywebsocket/',
71           '../third_party/tlslite/',
72           '../tools/swarming_client/',
73           '<(PRODUCT_DIR)/pyproto/',
74         ],
75       },
76     }],
77     ['OS=="linux" or OS=="mac"', {
78       'variables': {
79         # Can't be enabled on Windows due to http://crbug.com/342913
80         'read_only': 1,
81       },
82     }],
83     ['OS=="mac"', {
84       'variables': {
85         'isolate_dependency_tracked': [
86           '<(PRODUCT_DIR)/ffmpegsumo.so',
87           '<(PRODUCT_DIR)/osmesa.so',
88         ],
89         'isolate_dependency_untracked': [
90           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
91         ],
92       },
93     }],
94     ['OS=="mac" or OS=="win"', {
95       'variables': {
96         'command': [
97           '../testing/test_env.py',
98           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
99           '--brave-new-test-launcher',
100           '--test-launcher-bot-mode',
101         ],
102         'isolate_dependency_untracked': [
103           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/google_now/',
104           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/print_preview/',
105           '<(PRODUCT_DIR)/test_data/chrome/test/data/unit/',
106           '<(PRODUCT_DIR)/test_data/ui/',
107         ],
108       },
109     }],
110     ['OS=="win"', {
111       'variables': {
112         'isolate_dependency_tracked': [
113           '<(PRODUCT_DIR)/chrome_elf.dll',
114           '<(PRODUCT_DIR)/ffmpegsumo.dll',
115           '<(PRODUCT_DIR)/osmesa.dll',
116         ],
117         'isolate_dependency_untracked': [
118           '../ppapi/lib/gl/include/KHR/',
119           '../skia/ext/data/',
120           '../ui/base/glib/',
121         ],
122       },
123     }],
124   ],
125   'includes': [
126     '../third_party/icu/icu.isolate',
127   ],