Index: base/base_unittests.isolate |
diff --git a/base/base_unittests.isolate b/base/base_unittests.isolate |
index 26f4c2b38915a3fae15ff8b145a152ea9337f274..f561d209cf5920b95b36562e9edc01f0db678469 100644 |
--- a/base/base_unittests.isolate |
+++ b/base/base_unittests.isolate |
@@ -10,19 +10,7 @@ |
], |
}, |
}], |
- ['use_x11==0', { |
- 'variables': { |
- 'command': [ |
- '../testing/test_env.py', |
- '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
- '--brave-new-test-launcher', |
- '--test-launcher-bot-mode', |
- '--asan=<(asan)', |
- '--lsan=<(lsan)', |
- ], |
- }, |
- }], |
- ['use_x11==1', { |
+ ['OS=="linux"', { |
'variables': { |
'command': [ |
'../testing/xvfb.py', |
@@ -35,6 +23,12 @@ |
], |
'files': [ |
'../testing/xvfb.py', |
+ ], |
+ }, |
+ }], |
+ ['OS=="linux" and use_ozone==0', { |
+ 'variables': { |
+ 'files': [ |
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
], |
}, |
@@ -48,6 +42,18 @@ |
'read_only': 1, |
}, |
}], |
+ ['OS=="mac" or OS=="win"', { |
+ 'variables': { |
+ 'command': [ |
+ '../testing/test_env.py', |
+ '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
+ '--brave-new-test-launcher', |
+ '--test-launcher-bot-mode', |
+ '--asan=<(asan)', |
+ '--lsan=<(lsan)', |
+ ], |
+ }, |
+ }], |
['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
'variables': { |
'files': [ |