[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 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 | { |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 5 | 'conditions': [ |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 6 | ['use_x11==0', { |
[email protected] | 81cc08b5a | 2013-06-29 13:00:45 | [diff] [blame] | 7 | 'variables': { |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 8 | 'command': [ |
| 9 | '../testing/test_env.py', |
| 10 | '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
| 11 | '--brave-new-test-launcher', |
| 12 | '--test-launcher-bot-mode', |
| 13 | '--asan=<(asan)', |
| 14 | '--msan=<(msan)', |
| 15 | '--tsan=<(tsan)', |
[email protected] | 81cc08b5a | 2013-06-29 13:00:45 | [diff] [blame] | 16 | ], |
| 17 | }, |
| 18 | }], |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 19 | ['use_x11==1', { |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 20 | 'variables': { |
[email protected] | fa0cadc1 | 2012-06-18 18:51:09 | [diff] [blame] | 21 | 'command': [ |
| 22 | '../testing/xvfb.py', |
[email protected] | 961f03c | 2012-06-18 19:32:55 | [diff] [blame] | 23 | '<(PRODUCT_DIR)', |
[email protected] | fa0cadc1 | 2012-06-18 18:51:09 | [diff] [blame] | 24 | '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
[email protected] | 0f79893 | 2013-10-28 21:54:54 | [diff] [blame] | 25 | '--brave-new-test-launcher', |
[email protected] | e47f6930 | 2013-11-13 20:23:44 | [diff] [blame] | 26 | '--test-launcher-bot-mode', |
John Abd-El-Malek | 4569c42 | 2014-10-09 05:10:53 | [diff] [blame] | 27 | '--asan=<(asan)', |
earthdok | eeb06530 | 2015-02-04 18:18:04 | [diff] [blame] | 28 | '--msan=<(msan)', |
| 29 | '--tsan=<(tsan)', |
[email protected] | fa0cadc1 | 2012-06-18 18:51:09 | [diff] [blame] | 30 | ], |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 31 | 'files': [ |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 32 | '../testing/xvfb.py', |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 33 | '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
Paweł Hajdan, Jr | 99ef9b48 | 2015-01-08 09:33:38 | [diff] [blame] | 34 | ], |
| 35 | }, |
| 36 | }], |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 37 | ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { |
Paweł Hajdan, Jr | 99ef9b48 | 2015-01-08 09:33:38 | [diff] [blame] | 38 | 'variables': { |
| 39 | 'files': [ |
spang | 386febf | 2015-03-10 18:01:07 | [diff] [blame] | 40 | 'test/data/', |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 41 | ], |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 42 | }, |
[email protected] | 40d0085e | 2013-04-04 23:05:14 | [diff] [blame] | 43 | }], |
| 44 | ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 45 | 'variables': { |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 46 | 'files': [ |
[email protected] | 40d0085e | 2013-04-04 23:05:14 | [diff] [blame] | 47 | '../testing/test_env.py', |
[email protected] | 40d0085e | 2013-04-04 23:05:14 | [diff] [blame] | 48 | '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
| 49 | ], |
[email protected] | 8d34a77 | 2014-01-16 00:59:54 | [diff] [blame] | 50 | 'read_only': 1, |
[email protected] | 40d0085e | 2013-04-04 23:05:14 | [diff] [blame] | 51 | }, |
| 52 | }], |
icoolidge | 9a4f22d | 2015-04-07 19:28:09 | [diff] [blame] | 53 | ['OS=="linux"', { |
| 54 | 'variables': { |
| 55 | 'files': [ |
| 56 | '<(PRODUCT_DIR)/lib/libmalloc_wrapper.so', |
| 57 | ], |
| 58 | }, |
| 59 | }], |
glider | 84d336d | 2015-02-10 13:17:27 | [diff] [blame] | 60 | ['OS=="mac" and asan==1 and fastbuild==0', { |
glider | 9d91934 | 2015-02-06 17:42:27 | [diff] [blame] | 61 | 'variables': { |
| 62 | 'files': [ |
| 63 | '<(PRODUCT_DIR)/base_unittests.dSYM/', |
| 64 | ], |
| 65 | }, |
| 66 | }], |
John Abd-El-Malek | 59e48909 | 2014-09-19 18:57:42 | [diff] [blame] | 67 | ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
[email protected] | 3a71f652 | 2014-05-09 03:39:28 | [diff] [blame] | 68 | 'variables': { |
maruel | 8214754 | 2014-10-01 13:21:42 | [diff] [blame] | 69 | 'files': [ |
[email protected] | 1ba312f | 2014-08-19 18:06:09 | [diff] [blame] | 70 | '<(PRODUCT_DIR)/base_unittests.exe.pdb', |
| 71 | ], |
[email protected] | 3a71f652 | 2014-05-09 03:39:28 | [diff] [blame] | 72 | }, |
| 73 | }], |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 74 | ], |
[email protected] | 31a8825 | 2014-01-16 05:21:53 | [diff] [blame] | 75 | 'includes': [ |
[email protected] | c9ea791 | 2014-01-22 09:05:59 | [diff] [blame] | 76 | 'base.isolate', |
[email protected] | 31a8825 | 2014-01-16 05:21:53 | [diff] [blame] | 77 | ], |
[email protected] | 256f4bd | 2012-04-12 01:59:29 | [diff] [blame] | 78 | } |