OLD | NEW |
| (Empty) |
1 # Copyright 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 'variables': { | |
8 'variables': { | |
9 # Note: priority can be set from 1 to 9 to indicate precedence for | |
10 # filters (larger overrides smaller). | |
11 'priority%': 1, | |
12 'test_output_folder': '<(SHARED_INTERMEDIATE_DIR)/chromecast/tests', | |
13 }, | |
14 # Copy from previous level. | |
15 'test_output_folder': '<(test_output_folder)', | |
16 | |
17 'test_output_file_prefix': | |
18 '<(test_output_folder)/<(priority)-<(_target_name)', | |
19 }, | |
20 # Copy from previous level. | |
21 'test_output_folder': '<(test_output_folder)', | |
22 | |
23 'test_filters_output_file': '<(test_output_file_prefix).filters', | |
24 'test_generator_py': '<(DEPTH)/chromecast/tools/build/generate_test_lists.py
', | |
25 'test_list_output_file': '<(test_output_file_prefix).tests', | |
26 'filters%': [], | |
27 }, | |
28 'actions': [ | |
29 { | |
30 'action_name': 'generate_test_list', | |
31 'inputs': ['<(test_generator_py)'], | |
32 'outputs': ['<(test_list_output_file)'], | |
33 'message': 'Generating test list from <(_target_name)', | |
34 'action': [ | |
35 'python', '<@(_inputs)', | |
36 '-o', '<(test_list_output_file)', | |
37 'create_list', | |
38 '<@(_dependencies)' | |
39 ], | |
40 }, | |
41 { | |
42 'action_name': 'generate_filter_list', | |
43 'inputs': ['<(test_generator_py)'], | |
44 'outputs': ['<(test_filters_output_file)'], | |
45 'message': 'Generating filter list from <(_target_name)', | |
46 'action': [ | |
47 'python', '<@(_inputs)', | |
48 '-o', '<(test_filters_output_file)', | |
49 'create_list', | |
50 '<@(filters)' | |
51 ], | |
52 }, | |
53 ], | |
54 } | |
OLD | NEW |