| # Copyright (c) 2013 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=="android" or OS=="linux" or OS=="mac" or OS=="win"', { |
| 'variables': { |
| 'files': [ |
| '../media/test/data/', |
| 'test/data/', |
| ], |
| }, |
| }], |
| ['OS=="android"', { |
| 'variables': { |
| 'files': [ |
| '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', |
| ], |
| }, |
| }], |
| ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 'variables': { |
| 'files': [ |
| '<(PRODUCT_DIR)/content_shell.pak', |
| ], |
| }, |
| }], |
| ['OS=="linux" or OS=="mac" or OS=="win"', { |
| 'variables': { |
| 'files': [ |
| '../testing/test_env.py', |
| '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', |
| ], |
| }, |
| }], |
| ['OS=="linux"', { |
| 'variables': { |
| 'command': [ |
| '../testing/xvfb.py', |
| '<(PRODUCT_DIR)', |
| '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', |
| '--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<(EXECUTABLE_SUFFIX)', |
| ], |
| }, |
| }], |
| ['OS=="mac"', { |
| 'variables': { |
| 'command': [ |
| '../testing/test_env.py', |
| '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', |
| '--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)/content_unittests<(EXECUTABLE_SUFFIX)', |
| '--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)/content_unittests.exe.pdb', |
| ], |
| }, |
| }], |
| ], |
| 'includes': [ |
| '../base/base.isolate', |
| '../gin/v8.isolate', |
| ], |
| } |