| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'conditions': [ | 5 'conditions': [ |
| 6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { | 6 ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 7 'variables': { | 7 'variables': { |
| 8 'files': [ | 8 'files': [ |
| 9 'test/data/', | 9 '../testing/test_env.py', |
| 10 '<(PRODUCT_DIR)/gpu_unittests<(EXECUTABLE_SUFFIX)', |
| 10 ], | 11 ], |
| 11 }, | 12 }, |
| 12 }], | 13 }], |
| 13 ['OS=="linux"', { | 14 ['OS=="linux"', { |
| 14 'variables': { | 15 'variables': { |
| 15 'command': [ | 16 'command': [ |
| 16 '../testing/xvfb.py', | 17 '../testing/xvfb.py', |
| 17 '<(PRODUCT_DIR)', | 18 '<(PRODUCT_DIR)', |
| 18 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | 19 '<(PRODUCT_DIR)/gpu_unittests', |
| 19 '--brave-new-test-launcher', | 20 '--brave-new-test-launcher', |
| 20 '--test-launcher-bot-mode', | 21 '--test-launcher-bot-mode', |
| 21 '--asan=<(asan)', | 22 '--asan=<(asan)', |
| 22 '--lsan=<(lsan)', | 23 '--lsan=<(lsan)', |
| 23 ], | 24 ], |
| 24 'files': [ | 25 'files': [ |
| 25 '../testing/xvfb.py', | 26 '../testing/xvfb.py', |
| 27 '<(PRODUCT_DIR)/xdisplaycheck', |
| 26 ], | 28 ], |
| 27 }, | 29 }, |
| 28 }], | 30 }], |
| 29 ['OS=="linux" and use_ozone==0', { | 31 ['OS=="mac"', { |
| 30 'variables': { | 32 'variables': { |
| 31 'files': [ | 33 'command': [ |
| 32 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', | 34 '../testing/test_env.py', |
| 35 '<(PRODUCT_DIR)/gpu_unittests', |
| 36 '--brave-new-test-launcher', |
| 37 '--test-launcher-bot-mode', |
| 38 '--asan=<(asan)', |
| 39 '--lsan=<(lsan)', |
| 33 ], | 40 ], |
| 34 }, | 41 }, |
| 35 }], | 42 }], |
| 36 ['OS=="linux" or OS=="mac" or OS=="win"', { | 43 ['OS=="win"', { |
| 37 'variables': { | |
| 38 'files': [ | |
| 39 '../testing/test_env.py', | |
| 40 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | |
| 41 ], | |
| 42 'read_only': 1, | |
| 43 }, | |
| 44 }], | |
| 45 ['OS=="mac" or OS=="win"', { | |
| 46 'variables': { | 44 'variables': { |
| 47 'command': [ | 45 'command': [ |
| 48 '../testing/test_env.py', | 46 '../testing/test_env.py', |
| 49 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', | 47 '<(PRODUCT_DIR)/gpu_unittests.exe', |
| 50 '--brave-new-test-launcher', | 48 '--brave-new-test-launcher', |
| 51 '--test-launcher-bot-mode', | 49 '--test-launcher-bot-mode', |
| 52 '--asan=<(asan)', | 50 '--asan=<(asan)', |
| 53 '--lsan=<(lsan)', | 51 '--lsan=<(lsan)', |
| 54 ], | 52 ], |
| 55 }, | 53 }, |
| 56 }], | 54 }], |
| 57 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | 55 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
| 58 'variables': { | 56 'variables': { |
| 59 'files': [ | 57 'files': [ |
| 60 '<(PRODUCT_DIR)/base_unittests.exe.pdb', | 58 '<(PRODUCT_DIR)/gpu_unittests.exe.pdb', |
| 61 ], | 59 ], |
| 62 }, | 60 }, |
| 63 }], | 61 }], |
| 64 ], | 62 ], |
| 65 'includes': [ | 63 'includes': [ |
| 66 'base.isolate', | 64 '../base/base.isolate', |
| 67 ], | 65 ], |
| 68 } | 66 } |
| OLD | NEW |