OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014 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 { | |
6 'variables': { | |
7 'run_multi_machine_tests%': '0', | |
8 }, | |
9 | |
10 'conditions': [ | |
11 ['archive_chromoting_tests==1', { | |
12 'conditions': [ | |
13 ['OS=="linux"', { | |
14 'targets': [ | |
15 { | |
16 'target_name': 'chromoting_integration_tests_run', | |
17 'includes': [ | |
18 './dependencies.gypi', | |
19 ], | |
20 'sources': [ | |
21 'chromoting_integration_tests.isolate', | |
22 ], | |
23 }, # target_name: 'chromoting_integration_tests_run' | |
24 ], | |
25 }], | |
26 ['run_multi_machine_tests==1', { | |
27 'targets': [ | |
28 { | |
29 'target_name': 'chromoting_multi_machine_example_test', | |
30 'includes': [ | |
31 './dependencies.gypi', | |
32 ], | |
33 'sources': [ | |
34 'multi_machine_example/example_test_controller.isolate', | |
35 'multi_machine_example/example_task.isolate', | |
36 ], | |
37 }, # target_name: 'chromoting_multi_machine_example_test' | |
38 ], | |
39 }], | |
40 ], | |
41 'targets': [ | |
42 { | |
43 'target_name': 'chromoting_browser_tests_run', | |
44 'includes': [ | |
45 './dependencies.gypi', | |
46 ], | |
47 'sources': [ | |
48 'chromoting_browser_tests.isolate', | |
49 ], | |
50 'conditions': [ | |
51 ['OS=="linux"', { | |
52 'actions': [ | |
53 { | |
54 'action_name': 'download_test_files', | |
55 'variables': { | |
56 'dl_files_script': './download_test_files.py', | |
57 'files_list': './chromoting_test_files.txt', | |
58 'output_folder': './', | |
59 }, | |
60 'inputs': [ | |
61 '<(files_list)', | |
62 ], | |
63 'outputs': [ | |
64 '<(output_folder)', | |
65 ], | |
66 'action': [ | |
67 'python', | |
68 '<(dl_files_script)', | |
69 '--files', | |
70 '<(files_list)', | |
71 '--output_folder', | |
72 '<(output_folder)', | |
73 ], | |
74 'message': 'Downloading required Remoting test files.', | |
75 }, | |
76 ], | |
77 }], | |
78 ], | |
79 }, # target_name: 'chromoting_browser_integration_tests_run' | |
80 ], | |
81 }], | |
82 ], | |
83 } | |
OLD | NEW |