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