1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'variables': {
'variables': {
# Note: priority can be set from 1 to 9 to indicate precedence for
# filters (larger overrides smaller).
'priority%': 1,
'test_output_folder': '<(SHARED_INTERMEDIATE_DIR)/chromecast/tests',
},
# Copy from previous level.
'test_output_folder': '<(test_output_folder)',
'test_output_file_prefix':
'<(test_output_folder)/<(priority)-<(_target_name)',
},
# Copy from previous level.
'test_output_folder': '<(test_output_folder)',
'test_filters_output_file': '<(test_output_file_prefix).filters',
'test_generator_py': '<(DEPTH)/chromecast/tools/build/generate_test_lists.py',
'test_list_output_file': '<(test_output_file_prefix).tests',
'filters%': [],
},
'actions': [
{
'action_name': 'generate_test_list',
'inputs': ['<(test_generator_py)'],
'outputs': ['<(test_list_output_file)'],
'message': 'Generating test list from <(_target_name)',
'action': [
'python', '<@(_inputs)',
'-o', '<(test_list_output_file)',
'create_list',
'<@(_dependencies)'
],
},
{
'action_name': 'generate_filter_list',
'inputs': ['<(test_generator_py)'],
'outputs': ['<(test_filters_output_file)'],
'message': 'Generating filter list from <(_target_name)',
'action': [
'python', '<@(_inputs)',
'-o', '<(test_filters_output_file)',
'create_list',
'<@(filters)'
],
},
],
}
|