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=="android" or OS=="linux" or OS=="mac" or OS=="win"', { |
10 'variables': { | 10 'variables': { |
11 'files': [ | 11 'files': [ |
12 'test/data/', | 12 'test/data/', |
13 ], | 13 ], |
14 }, | 14 }, |
15 }], | 15 }], |
16 ['OS=="linux" or OS=="mac" or OS=="win"', { | 16 ['OS=="linux" or OS=="mac" or OS=="win"', { |
17 'variables': { | 17 'variables': { |
18 'command': [ | |
19 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', | |
20 ], | |
21 'files': [ | 18 'files': [ |
| 19 '../testing/test_env.py', |
22 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', | 20 '<(PRODUCT_DIR)/media_unittests<(EXECUTABLE_SUFFIX)', |
23 ], | 21 ], |
24 }, | 22 }, |
25 }], | 23 }], |
26 # TODO(jmadill): should be automatic. http://crbug.com/418146 | 24 ['OS=="linux"', { |
| 25 'variables': { |
| 26 'command': [ |
| 27 '../testing/xvfb.py', |
| 28 '<(PRODUCT_DIR)', |
| 29 '<(PRODUCT_DIR)/media_unittests', |
| 30 '--brave-new-test-launcher', |
| 31 '--test-launcher-bot-mode', |
| 32 '--asan=<(asan)', |
| 33 '--lsan=<(lsan)', |
| 34 ], |
| 35 'files': [ |
| 36 '../testing/xvfb.py', |
| 37 '<(PRODUCT_DIR)/libffmpegsumo.so', |
| 38 '<(PRODUCT_DIR)/xdisplaycheck', |
| 39 ], |
| 40 }, |
| 41 }], |
| 42 ['OS=="mac"', { |
| 43 'variables': { |
| 44 'command': [ |
| 45 '../testing/test_env.py', |
| 46 '<(PRODUCT_DIR)/media_unittests', |
| 47 '--brave-new-test-launcher', |
| 48 '--test-launcher-bot-mode', |
| 49 '--asan=<(asan)', |
| 50 '--lsan=<(lsan)', |
| 51 ], |
| 52 'files': [ |
| 53 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 54 ], |
| 55 }, |
| 56 }], |
27 ['OS=="win"', { | 57 ['OS=="win"', { |
28 'variables': { | 58 'variables': { |
| 59 'command': [ |
| 60 '../testing/test_env.py', |
| 61 '<(PRODUCT_DIR)/media_unittests.exe', |
| 62 '--brave-new-test-launcher', |
| 63 '--test-launcher-bot-mode', |
| 64 '--asan=<(asan)', |
| 65 '--lsan=<(lsan)', |
| 66 ], |
29 'files': [ | 67 'files': [ |
30 '<(PRODUCT_DIR)/ffmpegsumo.dll', | 68 '<(PRODUCT_DIR)/ffmpegsumo.dll', |
31 ], | 69 ], |
32 }, | 70 }, |
33 }], | 71 }], |
34 ['OS=="mac"', { | 72 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { |
35 'variables': { | 73 'variables': { |
36 'files': [ | 74 'files': [ |
37 '<(PRODUCT_DIR)/ffmpegsumo.so', | 75 '<(PRODUCT_DIR)/media_unittests.exe.pdb', |
38 ], | 76 ], |
39 }, | 77 }, |
40 }], | 78 }], |
41 ['OS=="linux"', { | |
42 'variables': { | |
43 'files': [ | |
44 '<(PRODUCT_DIR)/libffmpegsumo.so', | |
45 ], | |
46 }, | |
47 }], | |
48 ], | 79 ], |
49 } | 80 } |
OLD | NEW |