| Index: cc/cc_unittests.isolate
|
| diff --git a/cc/cc_unittests.isolate b/cc/cc_unittests.isolate
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4e5ac92c966e1ec04dba0b49ae27fb0de3d654f8
|
| --- /dev/null
|
| +++ b/cc/cc_unittests.isolate
|
| @@ -0,0 +1,83 @@
|
| +# Copyright 2015 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" or OS=="mac" or OS=="win"', {
|
| + 'variables': {
|
| + 'files': [
|
| + 'test/data/',
|
| + '../testing/test_env.py',
|
| + '<(PRODUCT_DIR)/cc_unittests<(EXECUTABLE_SUFFIX)',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="linux"', {
|
| + 'variables': {
|
| + 'command': [
|
| + '../testing/xvfb.py',
|
| + '<(PRODUCT_DIR)',
|
| + '<(PRODUCT_DIR)/cc_unittests',
|
| + '--brave-new-test-launcher',
|
| + '--test-launcher-bot-mode',
|
| + '--asan=<(asan)',
|
| + '--lsan=<(lsan)',
|
| + ],
|
| + 'files': [
|
| + '../testing/xvfb.py',
|
| + '<(PRODUCT_DIR)/libffmpegsumo.so',
|
| + '<(PRODUCT_DIR)/libosmesa.so',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="linux" and use_ozone==0', {
|
| + 'variables': {
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/xdisplaycheck',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="mac"', {
|
| + 'variables': {
|
| + 'command': [
|
| + '../testing/test_env.py',
|
| + '<(PRODUCT_DIR)/cc_unittests',
|
| + '--brave-new-test-launcher',
|
| + '--test-launcher-bot-mode',
|
| + '--asan=<(asan)',
|
| + '--lsan=<(lsan)',
|
| + ],
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/ffmpegsumo.so',
|
| + '<(PRODUCT_DIR)/osmesa.so',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="win"', {
|
| + 'variables': {
|
| + 'command': [
|
| + '../testing/test_env.py',
|
| + '<(PRODUCT_DIR)/cc_unittests.exe',
|
| + '--brave-new-test-launcher',
|
| + '--test-launcher-bot-mode',
|
| + '--asan=<(asan)',
|
| + '--lsan=<(lsan)',
|
| + ],
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/ffmpegsumo.dll',
|
| + '<(PRODUCT_DIR)/osmesa.dll',
|
| + ],
|
| + },
|
| + }],
|
| + ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
|
| + 'variables': {
|
| + 'files': [
|
| + '<(PRODUCT_DIR)/cc_unittests.exe.pdb',
|
| + ],
|
| + },
|
| + }],
|
| + ],
|
| + 'includes': [
|
| + '../base/base.isolate',
|
| + ],
|
| +}
|
|
|