[Telemetry] Always uploading browser log if enabled instead of wait for crash to...
[chromium-blink-merge.git] / components / components_browsertests.isolate
bloba96725e9c42d6b54bec7423fe6fbe962dac4c271
1 # Copyright 2015 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.
5   'conditions': [
6     ['use_x11==0', {
7       'variables': {
8         'command': [
9           '../testing/test_env.py',
10           '<(PRODUCT_DIR)/components_browsertests<(EXECUTABLE_SUFFIX)',
11           '--brave-new-test-launcher',
12           '--test-launcher-bot-mode',
13           '--asan=<(asan)',
14           '--msan=<(msan)',
15           '--tsan=<(tsan)',
16         ],
17       },
18     }],
19     ['use_x11==1', {
20       'variables': {
21         'command': [
22           '../testing/xvfb.py',
23           '<(PRODUCT_DIR)',
24           '<(PRODUCT_DIR)/components_browsertests',
25           '--brave-new-test-launcher',
26           '--test-launcher-bot-mode',
27           '--asan=<(asan)',
28           '--msan=<(msan)',
29           '--tsan=<(tsan)',
30         ],
31         'files': [
32           '../testing/xvfb.py',
33           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34         ],
35       },
36     }],
37     ['OS=="android"', {
38       'variables': {
39         'files': [
40           '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets/components_tests_resources.pak',
41           '<(PRODUCT_DIR)/components_browsertests_apk_shell/assets/content_shell.pak',
42         ],
43       },
44     }],
45     ['OS=="linux" or OS=="mac" or OS=="win"', {
46       'variables': {
47         'files': [
48           '../testing/test_env.py',
49           '<(PRODUCT_DIR)/components_browsertests<(EXECUTABLE_SUFFIX)',
50           '<(PRODUCT_DIR)/components_tests_resources.pak',
51           '<(PRODUCT_DIR)/content_shell.pak',
52         ],
53       },
54     }],
55     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
56       'variables': {
57         'files': [
58           'test/data/',
59           'dom_distiller/core/javascript/',
60           '../third_party/dom_distiller_js/dist/test/data/',
61         ],
62       },
63     }],
64     ['OS=="linux"', {
65       'variables': {
66         'files': [
67           '<(PRODUCT_DIR)/libosmesa.so',
68         ],
69       },
70     }],
71     ['OS=="mac"', {
72       'variables': {
73         'files': [
74           '<(PRODUCT_DIR)/Content Shell.app/',
75         ],
76       },
77     }],
78     ['OS=="mac" and asan==1 and fastbuild==0', {
79       'variables': {
80         'files': [
81           '<(PRODUCT_DIR)/Content Shell Framework.framework.dSYM/',
82           '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/',
83           '<(PRODUCT_DIR)/Content Shell.app.dSYM/',
84           '<(PRODUCT_DIR)/components_browsertests.dSYM/',
85         ],
86       },
87     }],
88   ],
89   'includes': [
90     '../base/base.isolate',
91     '../gin/v8.isolate',
92     '../ui/gl/gl.isolate',
93   ],