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