Index: content/content_browsertests.isolate |
diff --git a/content/content_browsertests.isolate b/content/content_browsertests.isolate |
index ae5b40fa65c19009df5b49748e307017fcca8d2c..84379d63c2f3e8d98fac7d2d96e49668c285f110 100644 |
--- a/content/content_browsertests.isolate |
+++ b/content/content_browsertests.isolate |
@@ -3,6 +3,35 @@ |
# found in the LICENSE file. |
{ |
'conditions': [ |
+ ['use_x11==0', { |
+ 'variables': { |
+ 'command': [ |
+ '../testing/test_env.py', |
+ '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', |
+ '--test-launcher-bot-mode', |
+ '--asan=<(asan)', |
+ '--msan=<(msan)', |
+ '--tsan=<(tsan)', |
+ ], |
+ }, |
+ }], |
+ ['use_x11==1', { |
+ 'variables': { |
+ 'command': [ |
+ '../testing/xvfb.py', |
+ '<(PRODUCT_DIR)', |
+ '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', |
+ '--test-launcher-bot-mode', |
+ '--asan=<(asan)', |
+ '--msan=<(msan)', |
+ '--tsan=<(tsan)', |
+ ], |
+ 'files': [ |
+ '../testing/xvfb.py', |
+ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
+ ], |
+ }, |
+ }], |
['OS=="android"', { |
'variables': { |
'files': [ |
@@ -35,17 +64,7 @@ |
}], |
['OS=="linux"', { |
'variables': { |
- 'command': [ |
- '../testing/xvfb.py', |
- '<(PRODUCT_DIR)', |
- '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', |
- '--test-launcher-bot-mode', |
- '--asan=<(asan)', |
- '--msan=<(msan)', |
- '--tsan=<(tsan)', |
- ], |
'files': [ |
- '../testing/xvfb.py', |
'<(PRODUCT_DIR)/content_shell.pak', |
'<(PRODUCT_DIR)/libffmpegsumo.so', |
'<(PRODUCT_DIR)/libosmesa.so', |
@@ -53,13 +72,6 @@ |
], |
}, |
}], |
- ['OS=="linux" and use_ozone==0', { |
- 'variables': { |
- 'files': [ |
- '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
- ], |
- }, |
- }], |
['OS=="linux" or OS=="mac" or OS=="win"', { |
'variables': { |
'files': [ |
@@ -99,18 +111,6 @@ |
], |
}, |
}], |
- ['OS=="mac" or OS=="win"', { |
- 'variables': { |
- 'command': [ |
- '../testing/test_env.py', |
- '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', |
- '--test-launcher-bot-mode', |
- '--asan=<(asan)', |
- '--msan=<(msan)', |
- '--tsan=<(tsan)', |
- ], |
- }, |
- }], |
['OS=="win"', { |
'variables': { |
'files': [ |