1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 { 5 'conditions': [ 6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 7 'variables': { 8 'isolate_dependency_untracked': [ 9 'test/data/', 10 ], 11 }, 12 }], 13 ['OS=="linux"', { 14 'variables': { 15 'command': [ 16 '../testing/xvfb.py', 17 '<(PRODUCT_DIR)', 18 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 19 '--brave-new-test-launcher', 20 '--test-launcher-bot-mode', 21 ], 22 'isolate_dependency_tracked': [ 23 '../testing/xvfb.py', 24 ], 25 }, 26 }], 27 ['OS=="linux" and use_ozone==0', { 28 'variables': { 29 'isolate_dependency_tracked': [ 30 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 31 ], 32 }, 33 }], 34 ['OS=="linux" or OS=="mac" or OS=="win"', { 35 'variables': { 36 'isolate_dependency_tracked': [ 37 '../testing/test_env.py', 38 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 39 ], 40 'read_only': 1, 41 }, 42 }], 43 ['OS=="mac" or OS=="win"', { 44 'variables': { 45 'command': [ 46 '../testing/test_env.py', 47 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 48 '--brave-new-test-launcher', 49 '--test-launcher-bot-mode', 50 ], 51 }, 52 }], 53 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 54 'variables': { 55 'isolate_dependency_untracked': [ 56 '<(PRODUCT_DIR)/base_unittests.exe.pdb', 57 ], 58 }, 59 }], 60 ], 61 'includes': [ 62 'base.isolate', 63 ], 64 } 65