Make findbugs work properly with missing known bugs list
[chromium-blink-merge.git] / chrome / unit_tests.isolate
blob446550b8e67a42c243050cce4e5191c043cfe43b
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           '--lsan=<(lsan)',
52         ],
53         'files': [
54           '../testing/xvfb.py',
55           '<(PRODUCT_DIR)/libffmpegsumo.so',
56           '<(PRODUCT_DIR)/libosmesa.so',
57           '<(PRODUCT_DIR)/locales/fr.pak',
58         ],
59       },
60     }],
61     ['OS=="linux" and use_ozone==0', {
62       'variables': {
63         'files': [
64           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
65         ],
66       },
67     }],
68     ['OS=="linux" or OS=="mac" or OS=="win"', {
69       'variables': {
70         'files': [
71           '../net/tools/testserver/',
72           '../testing/test_env.py',
73           '../third_party/pyftpdlib/',
74           '../third_party/pywebsocket/',
75           '../third_party/tlslite/',
76           '<(PRODUCT_DIR)/pyproto/google/',
77           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
78         ],
79       },
80     }],
81     ['OS=="linux" or OS=="mac"', {
82       'variables': {
83         'read_only': 1,
84       },
85     }],
86     ['OS=="mac"', {
87       'variables': {
88         'files': [
89           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
90           '<(PRODUCT_DIR)/exif.so',
91           '<(PRODUCT_DIR)/ffmpegsumo.so',
92           '<(PRODUCT_DIR)/osmesa.so',
93         ],
94       },
95     }],
96     ['OS=="mac" or OS=="win"', {
97       'variables': {
98         'command': [
99           '../testing/test_env.py',
100           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
101           '--brave-new-test-launcher',
102           '--test-launcher-bot-mode',
103           '--asan=<(asan)',
104           '--lsan=<(lsan)',
105         ],
106       },
107     }],
108     ['OS=="win"', {
109       'variables': {
110         'files': [
111           '../ppapi/lib/gl/include/KHR/',
112           '../skia/ext/data/',
113           '../ui/base/glib/',
114           '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
115           '<(PRODUCT_DIR)/chrome_elf.dll',
116           '<(PRODUCT_DIR)/ffmpegsumo.dll',
117           '<(PRODUCT_DIR)/libexif.dll',
118           '<(PRODUCT_DIR)/osmesa.dll',
119           '<(PRODUCT_DIR)/verifier_test_dll_1.dll',
120           '<(PRODUCT_DIR)/verifier_test_dll_2.dll',
121           'test/data/safe_browsing/signed_binary.dll',
122         ],
123         # Can't be enabled on Windows due to http://crbug.com/342913
124         'read_only': 0,
125       },
126     }],
127     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
128       'variables': {
129         'files': [
130           '<(PRODUCT_DIR)/unit_tests.exe.pdb',
131         ],
132       },
133     }],
134     ['chromeos==1', {
135       'variables': {
136         'files': [
137           '../chromeos/test/data/network/',
138           '<(PRODUCT_DIR)/libexif.so',
139           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/',
140         ],
141       },
142     }],
143   ],
144   'includes': [
145     '../base/base.isolate',
146     '../gin/v8.isolate',
147   ],