| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 { | 4 { |
| 5 'variables': { | 5 'variables': { |
| 6 'command': [ | 6 'command': [ |
| 7 '../testing/test_env.py', | 7 '../testing/test_env.py', |
| 8 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | 8 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
| 9 '--brave-new-test-launcher', | 9 '--brave-new-test-launcher', |
| 10 '--test-launcher-bot-mode', | 10 '--test-launcher-bot-mode', |
| 11 '--asan=<(asan)', | 11 '--asan=<(asan)', |
| 12 '--msan=<(msan)', | 12 '--msan=<(msan)', |
| 13 '--tsan=<(tsan)', | 13 '--tsan=<(tsan)', |
| 14 ], | 14 ], |
| 15 }, | 15 }, |
| 16 'conditions': [ | 16 'conditions': [ |
| 17 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { | 17 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { |
| 18 'variables': { | 18 'variables': { |
| 19 'files': [ | 19 'files': [ |
| 20 'test/data/', | 20 'test/data/', |
| 21 ], | 21 ], |
| 22 }, | 22 }, |
| 23 }], | 23 }], |
| 24 ['OS=="linux" or OS=="mac" or OS=="win"', { | 24 ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 25 'variables': { | 25 'variables': { |
| 26 'files': [ | 26 'files': [ |
| 27 '../testing/test_env.py', | 27 '../testing/test_env.py', |
| 28 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | |
| 29 ], | 28 ], |
| 30 }, | 29 }, |
| 31 }], | 30 }], |
| 32 ['OS=="linux"', { | 31 ['OS=="linux"', { |
| 33 'variables': { | 32 'variables': { |
| 34 'files': [ | 33 'files': [ |
| 35 '<(PRODUCT_DIR)/lib/libmalloc_wrapper.so', | 34 '<(PRODUCT_DIR)/lib/libmalloc_wrapper.so', |
| 36 ], | 35 ], |
| 37 }, | 36 }, |
| 38 }], | 37 }], |
| 39 ['OS=="mac" and asan==1 and fastbuild==0', { | 38 ['OS=="mac" and asan==1 and fastbuild==0', { |
| 40 'variables': { | 39 'variables': { |
| 41 'files': [ | 40 'files': [ |
| 42 '<(PRODUCT_DIR)/base_unittests.dSYM/', | 41 '<(PRODUCT_DIR)/base_unittests.dSYM/', |
| 43 ], | 42 ], |
| 44 }, | 43 }, |
| 45 }], | 44 }], |
| 46 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | 45 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
| 47 'variables': { | 46 'variables': { |
| 48 'files': [ | 47 'files': [ |
| 49 '<(PRODUCT_DIR)/base_unittests.exe.pdb', | 48 '<(PRODUCT_DIR)/base_unittests.exe.pdb', |
| 50 ], | 49 ], |
| 51 }, | 50 }, |
| 52 }], | 51 }], |
| 53 ], | 52 ], |
| 54 'includes': [ | 53 'includes': [ |
| 55 'base.isolate', | 54 'base.isolate', |
| 56 ], | 55 ], |
| 57 } | 56 } |
| OLD | NEW |