Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / content / content_unittests.isolate
blob9689f02ebe9d9d19856af4199cd5bce678bea86a
1 # Copyright (c) 2013 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=="linux"', {
7       'variables': {
8         'command': [
9           '../testing/xvfb.py',
10           '<(PRODUCT_DIR)',
11           '../tools/swarm_client/run_test_cases.py',
12           '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
13         ],
14         'isolate_dependency_untracked': [
15           '<(PRODUCT_DIR)/libffmpegsumo.so',
16           '<(PRODUCT_DIR)/test_data/',
17         ],
18       },
19     }],
20     ['OS=="linux" or OS=="mac" or OS=="win"', {
21       'variables': {
22         'isolate_dependency_tracked': [
23           '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
24         ],
25         'isolate_dependency_untracked': [
26           '../third_party/hyphen/hyph_en_US.dic',
27           '../webkit/data/',
28           'test/data/',
29         ],
30       },
31     }],
32     ['OS=="mac"', {
33       'variables': {
34         'isolate_dependency_untracked': [
35           '<(PRODUCT_DIR)/content_resources.pak',
36           '<(PRODUCT_DIR)/ffmpegsumo.so',
37         ],
38       },
39     }],
40     ['OS=="mac" or OS=="win"', {
41       'variables': {
42         'command': [
43           '../testing/test_env.py',
44           '../tools/swarm_client/run_test_cases.py',
45           '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
46         ],
47       },
48     }],
49     ['OS=="win"', {
50       'variables': {
51         'isolate_dependency_untracked': [
52           '<(PRODUCT_DIR)/ffmpegsumo.dll',
53           '<(PRODUCT_DIR)/icudt.dll',
54         ],
55       },
56     }],
57   ],