| Index: cc/cc_unittests.isolate
|
| diff --git a/cc/cc_unittests.isolate b/cc/cc_unittests.isolate
|
| index eab33960f94856aa001d4c003108bbb7f74532d7..7c359d04462e99e8c1d9d566e9f69cc45188f582 100644
|
| --- a/cc/cc_unittests.isolate
|
| +++ b/cc/cc_unittests.isolate
|
| @@ -3,16 +3,20 @@
|
| # found in the LICENSE file.
|
| {
|
| 'conditions': [
|
| - ['OS=="linux" or OS=="mac" or OS=="win"', {
|
| + ['use_x11==0', {
|
| 'variables': {
|
| - 'files': [
|
| - 'test/data/',
|
| + 'command': [
|
| '../testing/test_env.py',
|
| '<(PRODUCT_DIR)/cc_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',
|
| @@ -26,29 +30,29 @@
|
| ],
|
| 'files': [
|
| '../testing/xvfb.py',
|
| - '<(PRODUCT_DIR)/libffmpegsumo.so',
|
| - '<(PRODUCT_DIR)/libosmesa.so',
|
| + '<(PRODUCT_DIR)/xdisplaycheck',
|
| ],
|
| },
|
| }],
|
| - ['OS=="linux" and use_ozone==0', {
|
| + ['OS=="linux" or OS=="mac" or OS=="win"', {
|
| 'variables': {
|
| 'files': [
|
| - '<(PRODUCT_DIR)/xdisplaycheck',
|
| + 'test/data/',
|
| + '../testing/test_env.py',
|
| + '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)',
|
| ],
|
| },
|
| }],
|
| - ['OS=="mac"', {
|
| + ['OS=="linux"', {
|
| 'variables': {
|
| - 'command': [
|
| - '../testing/test_env.py',
|
| - '<(PRODUCT_DIR)/cc_unittests',
|
| - '--brave-new-test-launcher',
|
| - '--test-launcher-bot-mode',
|
| - '--asan=<(asan)',
|
| - '--msan=<(msan)',
|
| - '--tsan=<(tsan)',
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/libffmpegsumo.so',
|
| + '<(PRODUCT_DIR)/libosmesa.so',
|
| ],
|
| + },
|
| + }],
|
| + ['OS=="mac"', {
|
| + 'variables': {
|
| 'files': [
|
| '<(PRODUCT_DIR)/ffmpegsumo.so',
|
| '<(PRODUCT_DIR)/osmesa.so',
|
| @@ -57,15 +61,6 @@
|
| }],
|
| ['OS=="win"', {
|
| 'variables': {
|
| - 'command': [
|
| - '../testing/test_env.py',
|
| - '<(PRODUCT_DIR)/cc_unittests.exe',
|
| - '--brave-new-test-launcher',
|
| - '--test-launcher-bot-mode',
|
| - '--asan=<(asan)',
|
| - '--msan=<(msan)',
|
| - '--tsan=<(tsan)',
|
| - ],
|
| 'files': [
|
| '<(PRODUCT_DIR)/ffmpegsumo.dll',
|
| '<(PRODUCT_DIR)/osmesa.dll',
|
| @@ -89,5 +84,6 @@
|
| ],
|
| 'includes': [
|
| '../base/base.isolate',
|
| + '../third_party/angle/angle.isolate',
|
| ],
|
| }
|
|
|