blob: 57fc4d2e5319d1d24526001334d8bdd66a2abeee [file] [log] [blame]
James Robinson646469d2014-10-03 15:33:28 -07001# 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{
Viet-Trung Luu235cf3d2015-06-11 10:01:25 -07005 '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 },
James Robinson646469d2014-10-03 15:33:28 -070016 'conditions': [
Nick Bray0bcbd3b2015-03-12 16:29:36 -070017 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
James Robinson646469d2014-10-03 15:33:28 -070018 'variables': {
19 'files': [
Nick Bray0bcbd3b2015-03-12 16:29:36 -070020 'test/data/',
James Robinson646469d2014-10-03 15:33:28 -070021 ],
22 },
23 }],
24 ['OS=="linux" or OS=="mac" or OS=="win"', {
25 'variables': {
26 'files': [
27 '../testing/test_env.py',
28 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
29 ],
30 'read_only': 1,
31 },
32 }],
James Robinson0fae0002015-05-05 16:31:51 -070033 ['OS=="linux"', {
34 'variables': {
35 'files': [
36 '<(PRODUCT_DIR)/lib/libmalloc_wrapper.so',
37 ],
38 },
39 }],
Etienne Membrives386015a2015-02-19 17:27:12 +010040 ['OS=="mac" and asan==1 and fastbuild==0', {
James Robinson7b766f42015-02-06 15:14:04 -080041 'variables': {
42 'files': [
43 '<(PRODUCT_DIR)/base_unittests.dSYM/',
James Robinson646469d2014-10-03 15:33:28 -070044 ],
45 },
46 }],
47 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
48 'variables': {
49 'files': [
50 '<(PRODUCT_DIR)/base_unittests.exe.pdb',
51 ],
52 },
53 }],
James Robinson646469d2014-10-03 15:33:28 -070054 ],
55 'includes': [
56 'base.isolate',
57 ],
58}