Index: ui/events/events_unittests.isolate |
diff --git a/crypto/crypto_unittests.isolate b/ui/events/events_unittests.isolate |
similarity index 58% |
copy from crypto/crypto_unittests.isolate |
copy to ui/events/events_unittests.isolate |
index 381a1c8b748c86946a163721fd06c8ae58911afb..220d1c220f59de64a74e85d0f250791557815b17 100644 |
--- a/crypto/crypto_unittests.isolate |
+++ b/ui/events/events_unittests.isolate |
@@ -1,72 +1,78 @@ |
-# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
{ |
'conditions': [ |
- ['OS=="linux"', { |
+ ['use_x11==0', { |
'variables': { |
'command': [ |
- '../testing/xvfb.py', |
+ '../../testing/test_env.py', |
+ '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', |
+ '--brave-new-test-launcher', |
+ '--test-launcher-bot-mode', |
+ '--asan=<(asan)', |
+ '--msan=<(msan)', |
+ '--tsan=<(tsan)', |
+ ], |
+ }, |
+ }], |
+ ['use_x11==1', { |
+ 'variables': { |
+ 'command': [ |
+ '../../testing/xvfb.py', |
'<(PRODUCT_DIR)', |
- '<(PRODUCT_DIR)/crypto_unittests<(EXECUTABLE_SUFFIX)', |
+ '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', |
'--brave-new-test-launcher', |
'--test-launcher-bot-mode', |
'--asan=<(asan)', |
- '--lsan=<(lsan)', |
'--msan=<(msan)', |
'--tsan=<(tsan)', |
], |
'files': [ |
- '../testing/xvfb.py', |
+ '../../testing/xvfb.py', |
+ '<(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)/events_unittests<(EXECUTABLE_SUFFIX)', |
], |
}, |
}], |
- ['OS=="linux" or OS=="mac" or OS=="win"', { |
+ ['OS=="linux" and use_ozone==0', { |
'variables': { |
'files': [ |
- '../testing/test_env.py', |
- '<(PRODUCT_DIR)/crypto_unittests<(EXECUTABLE_SUFFIX)', |
+ '<(PRODUCT_DIR)/libosmesa.so', |
], |
- 'read_only': 1, |
}, |
}], |
- ['OS=="mac" or OS=="win"', { |
+ ['OS=="mac"', { |
'variables': { |
- 'command': [ |
- '../testing/test_env.py', |
- '<(PRODUCT_DIR)/crypto_unittests<(EXECUTABLE_SUFFIX)', |
- '--brave-new-test-launcher', |
- '--test-launcher-bot-mode', |
- '--asan=<(asan)', |
- '--lsan=<(lsan)', |
- '--msan=<(msan)', |
- '--tsan=<(tsan)', |
+ 'files': [ |
+ '<(PRODUCT_DIR)/osmesa.so', |
], |
}, |
}], |
- ['OS=="mac" and asan==1 and fastbuild==0', { |
+ ['OS=="win"', { |
'variables': { |
'files': [ |
- '<(PRODUCT_DIR)/crypto_unittests.dSYM/', |
+ '<(PRODUCT_DIR)/osmesa.dll', |
], |
}, |
}], |
- ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
+ ['OS=="mac" and asan==1 and fastbuild==0', { |
'variables': { |
'files': [ |
- '<(PRODUCT_DIR)/crypto_unittests.exe.pdb', |
+ '<(PRODUCT_DIR)/events_unittests.dSYM/', |
+ '<(PRODUCT_DIR)/osmesa.so.dSYM/', |
], |
}, |
}], |
], |
'includes': [ |
- '../base/base.isolate', |
+ '../../base/base.isolate', |
], |
} |