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.
4{
5  'variables': {
6    'command': [
7      '../testing/test_env.py',
8      '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
9      '--brave-new-test-launcher',
10      '--test-launcher-bot-mode',
11      '--asan=<(asan)',
12      '--msan=<(msan)',
13      '--tsan=<(tsan)',
14    ],
15  },
16  'conditions': [
17    ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
18      'variables': {
19        'files': [
20          'test/data/',
21        ],
22      },
23    }],
24    ['OS=="linux" or OS=="mac" or OS=="win"', {
25      'variables': {
26        'files': [
27          '../testing/test_env.py',
28        ],
29      },
30    }],
31    ['OS=="linux"', {
32      'variables': {
33        'files': [
34          '<(PRODUCT_DIR)/lib/libmalloc_wrapper.so',
35        ],
36      },
37    }],
38    ['OS=="mac" and asan==1 and fastbuild==0', {
39      'variables': {
40        'files': [
41          '<(PRODUCT_DIR)/base_unittests.dSYM/',
42        ],
43      },
44    }],
45    ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
46      'variables': {
47        'files': [
48          '<(PRODUCT_DIR)/base_unittests.exe.pdb',
49        ],
50      },
51    }],
52  ],
53  'includes': [
54    'base.isolate',
55  ],
56}
57