Filter out Android header files from gyp targets for non-Android platforms.
[chromium-blink-merge.git] / extensions / extensions_browsertests.isolate
blob7699fc1973c3fd5ccfbb3c281bc1c41085edc009
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     ['OS=="linux" or OS=="mac" or OS=="win"', {
7       'variables': {
8         'files': [
9           '../net/data/',
10           '../net/tools/testserver/',
11           '../testing/test_env.py',
12           '../third_party/pyftpdlib/',
13           '../third_party/pywebsocket/',
14           '../third_party/tlslite/',
15           '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)',
16           '<(PRODUCT_DIR)/extensions_shell_and_test.pak',
17           'test/data/',
18         ],
19       },
20     }],
21     ['OS=="linux"', {
22       'variables': {
23         'command': [
24           '../testing/xvfb.py',
25           '<(PRODUCT_DIR)',
26           '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)',
27           '--brave-new-test-launcher',
28           '--test-launcher-bot-mode',
29           '--asan=<(asan)',
30           '--lsan=<(lsan)',
31           '--msan=<(msan)',
32           '--tsan=<(tsan)',
33         ],
34         'files': [
35           '../testing/xvfb.py',
36           '<(PRODUCT_DIR)/libosmesa.so',
37         ],
38       },
39     }],
40     ['OS=="linux" and use_ozone==0', {
41       'variables': {
42         'files': [
43           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
44         ],
45       },
46     }],
47     ['OS=="mac" or OS=="win"', {
48       'variables': {
49         'command': [
50           '../testing/test_env.py',
51           '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)',
52           '--brave-new-test-launcher',
53           '--test-launcher-bot-mode',
54           '--asan=<(asan)',
55           '--lsan=<(lsan)',
56           '--msan=<(msan)',
57           '--tsan=<(tsan)',
58         ],
59       },
60     }],
61     ['OS=="mac" and asan==1 and fastbuild==0', {
62       'variables': {
63         'files': [
64           '<(PRODUCT_DIR)/extensions_browsertests.dSYM/',
65         ],
66       },
67     }],
68     ['OS=="win" and target_arch=="ia32"', {
69       'variables': {
70         'files': [
71           '<(PRODUCT_DIR)/wow_helper.exe',
72         ],
73       },
74     }],
75   ],
76   'includes': [
77     '../base/base.isolate',
78     '../gin/v8.isolate',
79   ],