Remove no longer needed toolbar layer method.
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob08b9c62d32775610c22e4b1efd5e100206b8dd69
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" or OS=="win" or OS=="mac"', {
7       'variables': {
8         'files': [
9           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/google_now/',
10           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/print_preview/',
11           '<(PRODUCT_DIR)/test_data/chrome/renderer/resources/extensions/',
12           '<(PRODUCT_DIR)/test_data/chrome/test/data/unit/',
13           '<(PRODUCT_DIR)/test_data/ui/webui/',
14         ],
15       },
16     }],
17     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
18       'variables': {
19         'files': [
20           '../base/test/data/',
21           '../components/test/data/',
22           '../extensions/test/data/',
23           '../net/data/',
24           '../third_party/accessibility-audit/axs_testing.js',
25           '../third_party/hunspell_dictionaries/',
26           '../third_party/zlib/google/test/data/',
27           '../tools/metrics/histograms/histograms.xml',
28           '<(PRODUCT_DIR)/resources.pak',
29           'test/data/',
30           'third_party/mock4js/',
31         ],
32       },
33     }],
34     ['OS=="android" or OS=="linux" or OS=="win"', {
35       'variables': {
36         'files': [
37           '<(PRODUCT_DIR)/chrome_100_percent.pak',
38           '<(PRODUCT_DIR)/locales/en-US.pak',
39         ],
40       },
41     }],
42     ['OS=="linux"', {
43       'variables': {
44         'command': [
45           '../testing/xvfb.py',
46           '<(PRODUCT_DIR)',
47           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
48           '--brave-new-test-launcher',
49           '--test-launcher-bot-mode',
50           '--asan=<(asan)',
51           '--msan=<(msan)',
52           '--tsan=<(tsan)',
53         ],
54         'files': [
55           '../testing/xvfb.py',
56           '<(PRODUCT_DIR)/libffmpegsumo.so',
57           '<(PRODUCT_DIR)/libosmesa.so',
58           '<(PRODUCT_DIR)/locales/fr.pak',
59         ],
60       },
61     }],
62     ['OS=="linux" and use_ozone==0', {
63       'variables': {
64         'files': [
65           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
66         ],
67       },
68     }],
69     ['OS=="linux" or OS=="mac" or OS=="win"', {
70       'variables': {
71         'files': [
72           '../net/tools/testserver/',
73           '../testing/test_env.py',
74           '../third_party/pyftpdlib/',
75           '../third_party/pywebsocket/',
76           '../third_party/tlslite/',
77           '<(PRODUCT_DIR)/pyproto/google/',
78           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
79         ],
80       },
81     }],
82     ['OS=="linux" or OS=="mac"', {
83       'variables': {
84         'read_only': 1,
85       },
86     }],
87     ['OS=="mac"', {
88       'variables': {
89         'files': [
90           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
91           '<(PRODUCT_DIR)/exif.so',
92           '<(PRODUCT_DIR)/ffmpegsumo.so',
93           '<(PRODUCT_DIR)/osmesa.so',
94         ],
95       },
96     }],
97     ['OS=="mac" and asan==1 and fastbuild==0', {
98       'variables': {
99         'files': [
100           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework.dSYM/',
101           '<(PRODUCT_DIR)/exif.so.dSYM/',
102           '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
103           '<(PRODUCT_DIR)/osmesa.so.dSYM/',
104           '<(PRODUCT_DIR)/unit_tests.dSYM/',
105         ],
106       },
107     }],
108     ['OS=="mac" or OS=="win"', {
109       'variables': {
110         'command': [
111           '../testing/test_env.py',
112           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
113           '--brave-new-test-launcher',
114           '--test-launcher-bot-mode',
115           '--asan=<(asan)',
116           '--msan=<(msan)',
117           '--tsan=<(tsan)',
118         ],
119       },
120     }],
121     ['OS=="win"', {
122       'variables': {
123         'files': [
124           '../ppapi/lib/gl/include/KHR/',
125           '../skia/ext/data/',
126           '../ui/base/glib/',
127           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
128           '<(PRODUCT_DIR)/chrome_elf.dll',
129           '<(PRODUCT_DIR)/ffmpegsumo.dll',
130           '<(PRODUCT_DIR)/libexif.dll',
131           '<(PRODUCT_DIR)/osmesa.dll',
132           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
133           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
134           'test/data/safe_browsing/signed_binary.dll',
135         ],
136         # Can't be enabled on Windows due to http://crbug.com/342913
137         'read_only': 0,
138       },
139     }],
140     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
141       'variables': {
142         'files': [
143           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
144         ],
145       },
146     }],
147     ['chromeos==1', {
148       'variables': {
149         'files': [
150           '../chromeos/test/data/network/',
151           '<(PRODUCT_DIR)/libexif.so',
152           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/',
153         ],
154       },
155     }],
156   ],
157   'includes': [
158     '../base/base.isolate',
159     '../gin/v8.isolate',
160   ],