OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'includes': [ | 5 'includes': [ |
6 '../base/base.isolate', | 6 '../base/base.isolate', |
7 ], | 7 ], |
8 'conditions': [ | 8 'conditions': [ |
9 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { | 9 ['OS=="linux" or OS=="mac" or OS=="win"', { |
scherkus (not reviewing)
2015/01/15 19:21:53
is this because we don't swarm on android?
jam
2015/01/15 21:16:24
originally I thought so, but then I saw (on other
| |
10 'variables': { | 10 'variables': { |
11 'files': [ | 11 'files': [ |
12 'test/data/', | 12 'test/data/', |
13 ], | 13 '../testing/test_env.py', |
14 }, | |
15 }], | |
16 ['OS=="linux" or OS=="mac" or OS=="win"', { | |
17 'variables': { | |
18 'command': [ | |
19 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', | |
20 ], | |
21 'files': [ | |
22 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', | 14 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', |
23 ], | 15 ], |
24 }, | 16 }, |
25 }], | 17 }], |
26 # TODO(jmadill): should be automatic. http://crbug.com/418146 | 18 ['OS=="linux"', { |
19 'variables': { | |
20 'command': [ | |
21 '../testing/xvfb.py', | |
22 '<(PRODUCT_DIR)', | |
23 '<(PRODUCT_DIR)/media_unittests', | |
24 '--brave-new-test-launcher', | |
25 '--test-launcher-bot-mode', | |
26 '--asan=<(asan)', | |
27 '--lsan=<(lsan)', | |
28 ], | |
29 'files': [ | |
30 '../testing/xvfb.py', | |
31 '<(PRODUCT_DIR)/libffmpegsumo.so', | |
32 '<(PRODUCT_DIR)/xdisplaycheck', | |
33 ], | |
34 }, | |
35 }], | |
36 ['OS=="mac"', { | |
37 'variables': { | |
38 'command': [ | |
39 '../testing/test_env.py', | |
40 '<(PRODUCT_DIR)/media_unittests', | |
41 '--brave-new-test-launcher', | |
42 '--test-launcher-bot-mode', | |
43 '--asan=<(asan)', | |
44 '--lsan=<(lsan)', | |
45 ], | |
46 'files': [ | |
47 '<(PRODUCT_DIR)/ffmpegsumo.so', | |
48 ], | |
49 }, | |
50 }], | |
27 ['OS=="win"', { | 51 ['OS=="win"', { |
28 'variables': { | 52 'variables': { |
53 'command': [ | |
54 '../testing/test_env.py', | |
55 '<(PRODUCT_DIR)/media_unittests.exe', | |
56 '--brave-new-test-launcher', | |
57 '--test-launcher-bot-mode', | |
58 '--asan=<(asan)', | |
59 '--lsan=<(lsan)', | |
60 ], | |
29 'files': [ | 61 'files': [ |
30 '<(PRODUCT_DIR)/ffmpegsumo.dll', | 62 '<(PRODUCT_DIR)/ffmpegsumo.dll', |
31 ], | 63 ], |
32 }, | 64 }, |
33 }], | 65 }], |
34 ['OS=="mac"', { | 66 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
35 'variables': { | 67 'variables': { |
36 'files': [ | 68 'files': [ |
37 '<(PRODUCT_DIR)/ffmpegsumo.so', | 69 '<(PRODUCT_DIR)/media_unittests.exe.pdb', |
38 ], | 70 ], |
39 }, | 71 }, |
40 }], | 72 }], |
41 ['OS=="linux"', { | |
42 'variables': { | |
43 'files': [ | |
44 '<(PRODUCT_DIR)/libffmpegsumo.so', | |
45 ], | |
46 }, | |
47 }], | |
48 ], | 73 ], |
49 } | 74 } |
OLD | NEW |