Index: ui/touch_selection/ui_touch_selection_unittests.isolate |
diff --git a/ui/touch_selection/ui_touch_selection_unittests.isolate b/ui/touch_selection/ui_touch_selection_unittests.isolate |
index 4e8079af87c3d40fcd05168d1956348732afa6fd..3218fa4e7f8692f5abee5448145d1e925468e574 100644 |
--- a/ui/touch_selection/ui_touch_selection_unittests.isolate |
+++ b/ui/touch_selection/ui_touch_selection_unittests.isolate |
@@ -3,15 +3,20 @@ |
# found in the LICENSE file. |
{ |
'conditions': [ |
- ['OS=="linux" or OS=="mac" or OS=="win"', { |
+ ['use_x11==0', { |
'variables': { |
- 'files': [ |
+ 'command': [ |
'../../testing/test_env.py', |
'<(PRODUCT_DIR)/ui_touch_selection_unittests<(EXECUTABLE_SUFFIX)', |
+ '--brave-new-test-launcher', |
+ '--test-launcher-bot-mode', |
+ '--asan=<(asan)', |
+ '--msan=<(msan)', |
+ '--tsan=<(tsan)', |
], |
}, |
}], |
- ['OS=="linux"', { |
+ ['use_x11==1', { |
'variables': { |
'command': [ |
'../../testing/xvfb.py', |
@@ -25,27 +30,22 @@ |
], |
'files': [ |
'../../testing/xvfb.py', |
- '<(PRODUCT_DIR)/libosmesa.so', |
+ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
], |
}, |
}], |
- ['OS=="linux" and use_ozone==0', { |
+ ['OS=="linux" or OS=="mac" or OS=="win"', { |
'variables': { |
'files': [ |
- '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
+ '../../testing/test_env.py', |
+ '<(PRODUCT_DIR)/ui_touch_selection_unittests<(EXECUTABLE_SUFFIX)', |
], |
}, |
}], |
- ['OS=="mac" or OS=="win"', { |
+ ['OS=="linux"', { |
'variables': { |
- 'command': [ |
- '../../testing/test_env.py', |
- '<(PRODUCT_DIR)/ui_touch_selection_unittests<(EXECUTABLE_SUFFIX)', |
- '--brave-new-test-launcher', |
- '--test-launcher-bot-mode', |
- '--asan=<(asan)', |
- '--msan=<(msan)', |
- '--tsan=<(tsan)', |
+ 'files': [ |
+ '<(PRODUCT_DIR)/libosmesa.so', |
], |
}, |
}], |