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