| OLD | NEW |
| 1 # Copyright 2015 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=="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 'test/data/', |
| 10 '../testing/test_env.py', | 10 '../testing/test_env.py', |
| 11 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', | 11 '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)', |
| 12 ], | 12 ], |
| 13 }, | 13 }, |
| 14 }], | 14 }], |
| 15 ['OS=="linux"', { | 15 ['OS=="linux"', { |
| 16 'variables': { | 16 'variables': { |
| 17 'command': [ | 17 'command': [ |
| 18 '../testing/xvfb.py', | 18 '../testing/xvfb.py', |
| 19 '<(PRODUCT_DIR)', | 19 '<(PRODUCT_DIR)', |
| 20 '<(PRODUCT_DIR)/cc_unittests', | 20 '<(PRODUCT_DIR)/cc_unittests', |
| 21 '--brave-new-test-launcher', | 21 '--brave-new-test-launcher', |
| 22 '--test-launcher-bot-mode', | 22 '--test-launcher-bot-mode', |
| 23 '--asan=<(asan)', | 23 '--asan=<(asan)', |
| 24 '--lsan=<(lsan)', | |
| 25 '--msan=<(msan)', | 24 '--msan=<(msan)', |
| 26 '--tsan=<(tsan)', | 25 '--tsan=<(tsan)', |
| 27 ], | 26 ], |
| 28 'files': [ | 27 'files': [ |
| 29 '../testing/xvfb.py', | 28 '../testing/xvfb.py', |
| 30 '<(PRODUCT_DIR)/libffmpegsumo.so', | 29 '<(PRODUCT_DIR)/libffmpegsumo.so', |
| 31 '<(PRODUCT_DIR)/libosmesa.so', | 30 '<(PRODUCT_DIR)/libosmesa.so', |
| 32 ], | 31 ], |
| 33 }, | 32 }, |
| 34 }], | 33 }], |
| 35 ['OS=="linux" and use_ozone==0', { | 34 ['OS=="linux" and use_ozone==0', { |
| 36 'variables': { | 35 'variables': { |
| 37 'files': [ | 36 'files': [ |
| 38 '<(PRODUCT_DIR)/xdisplaycheck', | 37 '<(PRODUCT_DIR)/xdisplaycheck', |
| 39 ], | 38 ], |
| 40 }, | 39 }, |
| 41 }], | 40 }], |
| 42 ['OS=="mac"', { | 41 ['OS=="mac"', { |
| 43 'variables': { | 42 'variables': { |
| 44 'command': [ | 43 'command': [ |
| 45 '../testing/test_env.py', | 44 '../testing/test_env.py', |
| 46 '<(PRODUCT_DIR)/cc_unittests', | 45 '<(PRODUCT_DIR)/cc_unittests', |
| 47 '--brave-new-test-launcher', | 46 '--brave-new-test-launcher', |
| 48 '--test-launcher-bot-mode', | 47 '--test-launcher-bot-mode', |
| 49 '--asan=<(asan)', | 48 '--asan=<(asan)', |
| 50 '--lsan=<(lsan)', | |
| 51 '--msan=<(msan)', | 49 '--msan=<(msan)', |
| 52 '--tsan=<(tsan)', | 50 '--tsan=<(tsan)', |
| 53 ], | 51 ], |
| 54 'files': [ | 52 'files': [ |
| 55 '<(PRODUCT_DIR)/ffmpegsumo.so', | 53 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 56 '<(PRODUCT_DIR)/osmesa.so', | 54 '<(PRODUCT_DIR)/osmesa.so', |
| 57 ], | 55 ], |
| 58 }, | 56 }, |
| 59 }], | 57 }], |
| 60 ['OS=="win"', { | 58 ['OS=="win"', { |
| 61 'variables': { | 59 'variables': { |
| 62 'command': [ | 60 'command': [ |
| 63 '../testing/test_env.py', | 61 '../testing/test_env.py', |
| 64 '<(PRODUCT_DIR)/cc_unittests.exe', | 62 '<(PRODUCT_DIR)/cc_unittests.exe', |
| 65 '--brave-new-test-launcher', | 63 '--brave-new-test-launcher', |
| 66 '--test-launcher-bot-mode', | 64 '--test-launcher-bot-mode', |
| 67 '--asan=<(asan)', | 65 '--asan=<(asan)', |
| 68 '--lsan=<(lsan)', | |
| 69 '--msan=<(msan)', | 66 '--msan=<(msan)', |
| 70 '--tsan=<(tsan)', | 67 '--tsan=<(tsan)', |
| 71 ], | 68 ], |
| 72 'files': [ | 69 'files': [ |
| 73 '<(PRODUCT_DIR)/ffmpegsumo.dll', | 70 '<(PRODUCT_DIR)/ffmpegsumo.dll', |
| 74 '<(PRODUCT_DIR)/osmesa.dll', | 71 '<(PRODUCT_DIR)/osmesa.dll', |
| 75 ], | 72 ], |
| 76 }, | 73 }, |
| 77 }], | 74 }], |
| 78 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { | 75 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
| 79 'variables': { | 76 'variables': { |
| 80 'files': [ | 77 'files': [ |
| 81 '<(PRODUCT_DIR)/cc_unittests.exe.pdb', | 78 '<(PRODUCT_DIR)/cc_unittests.exe.pdb', |
| 82 ], | 79 ], |
| 83 }, | 80 }, |
| 84 }], | 81 }], |
| 85 ['OS=="mac" and asan==1 and fastbuild==0', { | 82 ['OS=="mac" and asan==1 and fastbuild==0', { |
| 86 'variables': { | 83 'variables': { |
| 87 'files': [ | 84 'files': [ |
| 88 '<(PRODUCT_DIR)/cc_unittests.dSYM/', | 85 '<(PRODUCT_DIR)/cc_unittests.dSYM/', |
| 89 ], | 86 ], |
| 90 }, | 87 }, |
| 91 }], | 88 }], |
| 92 ], | 89 ], |
| 93 'includes': [ | 90 'includes': [ |
| 94 '../base/base.isolate', | 91 '../base/base.isolate', |
| 95 ], | 92 ], |
| 96 } | 93 } |
| OLD | NEW |